Difference between revisions of "Useful programs"

Line 172: Line 172:
  
 
===Multimedia===
 
===Multimedia===
 +
====Restricted extras====
 +
Each Ubuntu flavor has a specific set of restricted libraries to play music, videos and so on...
 +
If you plan to do anything else than working you should definitively install that package! ;)
 +
 +
Get the package for your distro
 +
<syntaxhighlight lang="bash">
 +
apt-cache search restricted | grep extra
 +
</syntaxhighlight>
 +
 +
Install, example for xUbuntu:
 +
<syntaxhighlight lang="bash">
 +
apt-get install xubuntu-restricted-extras
 +
</syntaxhighlight>
 +
 +
====Rhythmbox====
 +
This is an excellent audio player!
 +
 +
<syntaxhighlight lang="bash">
 +
apt-get install rhythmbox rhythmbox-mozilla rhythmbox-doc rhythmbox-plugin-visualizer rhythmbox-radio-browser
 +
</syntaxhighlight>
 +
 +
 
====Quicktime====
 
====Quicktime====
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">

Revision as of 16:47, 21 April 2014

This is the list of programs I advised you to install on your server / workstation.

Core programs

Archive managers

To handle compress files and folders

apt-get install flex libarchive-zip-perl libio-compress-perl m4 perl perl-modules unzip zip
apt-get install zoo bzip2 arj nomarch lzop cabextract
apt-get install lzip ncompress rzip sharutils unace unalz unrar p7zip-rar

Linux compilation tools

apt-get install make autoconf automake cpp gcc
apt-get install subversion build-essential

Security audit

apt-get install nmap
apt-get install tshark wireshark wireshark-doc

Core libraries extensions

apt-get install apt-listchanges libnet-ldap-perl libauthen-sasl-perl daemon libio-string-perl libio-socket-ssl-perl
apt-get install libnet-ident-perl libnet-dns-perl

Advanced APT manager

apt-get install python-software-properties

Processes

apt-get install htop

Python

Python is a scripting language often used in open-source software’s.

apt-get install python3 python3-doc

Startup manager

apt-get install sysv-rc-conf

Then launch:

sysv-rc-conf

Java

See JDK_setup

On Ubuntu:

add-apt-repository ppa:webupd8team/java 
apt-get update && apt-get upgrade
apt-get install oracle-java7-installer oracle-jdk7-installer

OpenVPN

That will install openvpn client + server + UI client to manage ovpn files.

apt-get install openvpn
apt-get install network-manager-openvpn


Utilities

Guake

Installation

apt-get install guake

Add Guake to boot sequence

System settings > Startup application > add "Guake" | path: /usr/bin/guake

Curl

Use curl to check some URLs

apt-get install curl

SSH manager

To manage SSH connections, PAC manager is an excellent tool. see http://sourceforge.net/projects/pacmanager/

  • Install the required package
apt-get install libgtk2-appindicator-perl
  • Download the latest version
  • install the package:
sudo dpkg -i pac.deb

In case of error:

Errors were encountered while processing: pac

Just do:

sudo apt-get install -f && sudo dpkg -i pac.deb

Remmina

Remmina is an excellent tool to manage Windows Remote Desktop Connections. see http://remmina.sourceforge.net/

apt-get install rdesktop
apt-get install remmina remmina-plugin-vnc remmina-plugin-gnome remmina-plugin-rdp

Dos2unix converter and vice-versa

By default Linux cannot run script that are encoded in windows format. Those tools allow you to switch formats.

apt-get install dos2unix tofrodos

To use it just:

dos2unix myFile
tofrodos myFileOptional features

File manager “midnight commander”

apt-get install mc

Text internet browser

apt-get install lynx

Bess hexadecimal editor

apt-get install bless

USB startup disk (unetbootin)

apt-get install unetbootin

Help pages

apt-get install manpages manpages-dev

Help pages (french)

apt-get install manpages-fr manpages-fr-dev manpages-fr-extra

Windows emulator

apt-get install wine

Required libs, to be install in a 2nd time

apt-get install q4wine

Multimedia

Restricted extras

Each Ubuntu flavor has a specific set of restricted libraries to play music, videos and so on... If you plan to do anything else than working you should definitively install that package! ;)

Get the package for your distro

apt-cache search restricted | grep extra

Install, example for xUbuntu:

apt-get install xubuntu-restricted-extras

Rhythmbox

This is an excellent audio player!

apt-get install rhythmbox rhythmbox-mozilla rhythmbox-doc rhythmbox-plugin-visualizer rhythmbox-radio-browser


Quicktime

apt-get install libquicktime2

VLC

apt-get install vlc

Cairo-dock

Nice and usefull dock to access your applications.

apt-get install cairo-dock cairo-dock-plug-ins cairo-dock-plug-ins-integration

Then, add it to startup: Launch cairo-dock, right click on it ; in the "cairo-dock" menu click 'add it to startup'

Alternative way of adding it to startup: Xubuntu > start menu > all settings > Session and startup > "application autostart" > Add


Graphical

Gimp

Gimp is an excellent tool:

apt-get install gimp gimp-help-common

Some extra features:

apt-get install gimp-data-extras gimp-gmic gimp-ufraw gnome-xcf-thumbnailer

Help

apt-get install gimp-help-fr


Internet

Google Chrome

Download the latest version of Chrome: https://www.google.com/intl/en/chrome/browser/

Install the package using:

sudo dpkg -i google-chrome.deb

If you encounter some errors during installation, just do:

sudo apt-get install -f && sudo dpkg -i google-chrome.deb

Filezilla (FTP client)

apt-get install filezilla

Skype

Download skype from the official website: http://www.skype.com/

sudo dpkg -i skype-ubuntu-XX.deb

If you encounter some errors during installation, just do:

sudo apt-get install -f && sudo dpkg -i skype-ubuntu-XX.deb


Office tools

Libre office

Core features
apt-get install libreoffice libreoffice-calc libreoffice-draw  libreoffice-impress libreoffice-writer libreoffice-templates libreoffice-pdfimport
Proficient tools

ENGLISH

apt-get install hunspell-en-us hyphen-en-us mythes-en-us

If you don't like the "hunspell" dictionnary you can install "myspell" instead:

apt-get install myspell-en-us


Francais

apt-get install hunspell-fr hyphen-fr mythes-fr


Svenska

apt-get install hunspell-sv-se
Other UI languages

Francais

apt-get install libreoffice-l10n-fr libreoffice-help-fr


Svenska

apt-get install libreoffice-l10n-sv libreoffice-help-sv
Cliparts
apt-get install openclipart-libreoffice openclipart2-libreoffice

!! Careful !! Total is about 760 Mb ! Just install the first package = 160Mb to get some cliparts.


Drivers

see Drivers


Sublime text

Sublime text is a nice alternative to default editors such as Vim, Gedit, MousePad, ...

  • Then, extract it in /opt/sublime_text/ and run it! ;)


GIT

Help page: http://git-scm.com/book/en/

Installation

apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev
apt-get install git git-doc git-gui

If you want to use GIT as your local SVN client:

apt-get install git-svn

If you want to browse the GIT repository in a local browser:

apt-get install gitweb

Configuration

Run the following commands a standard user, not root!

git config --global user.name "guillaume.diaz"
git config --global user.email johndoe@example.com
git config --global core.editor vim

Get project files

Run the following commands a standard user, not root!

Clone an existing project

git clone [url] [targetFolder]

Perform operation using Git GUI

cd [my GIT repo]
git gui


Check files status

git status

Add file

git add [file]

Commit

git commit -m "my comment"


=Ignore files

Create a file called .gitignore to the root of your GIT repo.

cd [my GIT repo]
vim .gitignore


Insert the following code:

## generic files to ignore
*~
*.lock
*.DS_Store
*.swp
*.out
*.tmp
*.temp
build/

#java specific
*.class
target/

#maven
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties

#netbeans ignore personal stuff 
nbproject/private/

#eclipse specifics
settings/
.project
.classpath
.checkstyle

You can find more example on https://github.com/github/gitignore