Difference between revisions of "Useful programs"

Line 1: Line 1:
 
This is the list of programs I advised you to install on your server / workstation.
 
This is the list of programs I advised you to install on your server / workstation.
  
===Core programs===
+
=Core programs=
  
====Archive managers====
+
 
 +
==Archive managers==
 
To handle compress files and folders
 
To handle compress files and folders
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Line 11: Line 12:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Linux compilation tools====
+
 
 +
==Linux compilation tools==
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
apt-get install make autoconf automake cpp gcc
 
apt-get install make autoconf automake cpp gcc
Line 17: Line 19:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Security audit====
 
<syntaxhighlight lang="bash">
 
apt-get install nmap
 
</syntaxhighlight>
 
<syntaxhighlight lang="bash">
 
apt-get install tshark wireshark wireshark-doc
 
</syntaxhighlight>
 
  
====Core libraries extensions====
+
==Core libraries extensions==
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
apt-get install apt-listchanges libnet-ldap-perl libauthen-sasl-perl daemon libio-string-perl libio-socket-ssl-perl
 
apt-get install apt-listchanges libnet-ldap-perl libauthen-sasl-perl daemon libio-string-perl libio-socket-ssl-perl
Line 31: Line 26:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Advanced APT manager====
+
 
 +
==Advanced APT manager==
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
apt-get install python-software-properties
 
apt-get install python-software-properties
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Processes====
+
 
 +
==Processes==
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
apt-get install htop
 
apt-get install htop
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Python====
+
 
 +
==Python==
 
Python is a scripting language often used in open-source software’s.
 
Python is a scripting language often used in open-source software’s.
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Line 47: Line 45:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Startup manager====
+
 
 +
==Startup manager==
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
apt-get install sysv-rc-conf
 
apt-get install sysv-rc-conf
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 
Then launch:
 
Then launch:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Line 56: Line 56:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Java====
+
 
 +
==Java==
 
See [[JDK_setup]]
 
See [[JDK_setup]]
  
Line 66: Line 67:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====OpenVPN====
 
That will install openvpn client + server + UI client to manage ovpn files.
 
  
 +
==Help pages==
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install openvpn
+
apt-get install manpages
apt-get install network-manager-openvpn
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
  
===Utilities===
+
 
====Guake====
+
=Drivers=
 +
see [[Drivers]]
 +
 
 +
 
 +
 
 +
 
 +
=Utilities=
 +
 
 +
 
 +
==Guake==
 
Installation
 
Installation
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Line 82: Line 90:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Add Guake to boot sequence
+
Add Guake to boot sequence:
  
 
System settings > Startup application > add "Guake" | path: /usr/bin/guake
 
System settings > Startup application > add "Guake" | path: /usr/bin/guake
  
====Curl====
+
 
Use ''curl'' to check some URLs
+
==Dos2unix converter and vice-versa==
 +
By default Linux cannot run script that are encoded in windows format. Those tools allow you to switch formats.
 +
<syntaxhighlight lang="bash">
 +
apt-get install dos2unix tofrodos
 +
</syntaxhighlight>
 +
 
 +
To use it just:
 +
<syntaxhighlight lang="bash">
 +
dos2unix myFile
 +
tofrodos myFileOptional features
 +
</syntaxhighlight>
 +
 
 +
 
 +
==File manager “midnight commander”==
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install curl
+
apt-get install mc
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====SSH manager====
+
 
To manage SSH connections, PAC manager is an excellent tool. see http://sourceforge.net/projects/pacmanager/
+
==Text internet browser==
* Install the required package
 
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install libgtk2-appindicator-perl
+
apt-get install lynx
 
</syntaxhighlight>
 
</syntaxhighlight>
* Download the latest version
+
 
* install the package:
+
 
 +
==USB startup disk (unetbootin)==
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
sudo dpkg -i pac.deb
+
apt-get install unetbootin
 
</syntaxhighlight>
 
</syntaxhighlight>
  
In case of error:
+
 
 +
==Windows emulator==
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Errors were encountered while processing: pac
+
apt-get install wine
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Just do:
+
Required libs, to be install in a 2nd time
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
sudo apt-get install -f && sudo dpkg -i pac.deb
+
apt-get install q4wine
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Remmina====
+
 
Remmina is an excellent tool to manage Windows Remote Desktop Connections. see http://remmina.sourceforge.net/
+
 
 +
=Internet=
 +
 
 +
 
 +
==Google Chrome==
 +
Download the latest version of Chrome: https://www.google.com/intl/en/chrome/browser/
 +
 +
Install the package using:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install rdesktop
+
sudo dpkg -i google-chrome.deb
apt-get install remmina remmina-plugin-vnc remmina-plugin-gnome remmina-plugin-rdp
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Dos2unix converter and vice-versa====
+
If you encounter some errors during installation, just do:
By default Linux cannot run script that are encoded in windows format. Those tools allow you to switch formats.
 
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install dos2unix tofrodos
+
sudo apt-get install -f && sudo dpkg -i google-chrome.deb
 
</syntaxhighlight>
 
</syntaxhighlight>
To use it just:
+
 
 +
 
 +
==Filezilla (FTP client)==
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
dos2unix myFile
+
apt-get install filezilla
tofrodos myFileOptional features
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====File manager “midnight commander”====
+
 
 +
==Skype==
 +
Download skype from the official website: http://www.skype.com/
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install mc
+
sudo dpkg -i skype-ubuntu-XX.deb
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Text internet browser====
+
If you encounter some errors during installation, just do:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install lynx
+
sudo apt-get install -f && sudo dpkg -i skype-ubuntu-XX.deb
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Bess hexadecimal editor====
+
 
 +
 
 +
=Office tools=
 +
 
 +
 
 +
==Libre office==
 +
 
 +
===Core features===
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install bless
+
apt-get install libreoffice libreoffice-calc libreoffice-draw  libreoffice-impress libreoffice-writer libreoffice-templates libreoffice-pdfimport
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====USB startup disk (unetbootin)====
+
 
 +
===Proficient tools===
 +
 
 +
====ENGLISH====
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install unetbootin
+
apt-get install hunspell-en-us hyphen-en-us mythes-en-us
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Help pages====
+
If you don't like the "hunspell" dictionnary you can install "myspell" instead:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install manpages manpages-dev
+
apt-get install myspell-en-us
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Help pages (french)====
+
====Francais====
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install manpages-fr manpages-fr-dev manpages-fr-extra
+
apt-get install hunspell-fr hyphen-fr mythes-fr
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Windows emulator====
+
====Svenska====
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install wine
+
apt-get install hunspell-sv-se
 
</syntaxhighlight>
 
</syntaxhighlight>
Required libs, to be install in a 2nd time
+
 
 +
 
 +
===UI (menu) languages===
 +
 
 +
====Francais====
 +
<syntaxhighlight lang="bash">
 +
apt-get install libreoffice-l10n-fr libreoffice-help-fr
 +
</syntaxhighlight>
 +
 
 +
====Svenska====
 +
<syntaxhighlight lang="bash">
 +
apt-get install libreoffice-l10n-sv libreoffice-help-sv
 +
</syntaxhighlight>
 +
 
 +
 
 +
==Cliparts==
 +
Nowdays you don't need to install it. Just use Google images instead!
 +
 
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install q4wine
+
apt-get install openclipart-libreoffice openclipart2-libreoffice
 
</syntaxhighlight>
 
</syntaxhighlight>
  
===Multimedia===
+
!! Careful !! Total is about 760 Mb ! Just install the first package = 160Mb to get some cliparts.
====Restricted extras====
+
 
 +
 
 +
 
 +
 
 +
=Multimedia=
 +
 
 +
 
 +
==Restricted extras==
 
Each Ubuntu flavor has a specific set of restricted libraries to play music, videos and so on...
 
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! ;)
 
If you plan to do anything else than working you should definitively install that package! ;)
Line 186: Line 250:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Rhythmbox====
+
 
 +
==VLC==
 +
<syntaxhighlight lang="bash">
 +
apt-get install vlc
 +
</syntaxhighlight>
 +
 
 +
 
 +
==Rhythmbox==
 
This is an excellent audio player!
 
This is an excellent audio player!
  
Line 194: Line 265:
  
  
====Quicktime====
+
==Quicktime==
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
apt-get install libquicktime2
 
apt-get install libquicktime2
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====VLC====
 
<syntaxhighlight lang="bash">
 
apt-get install vlc
 
</syntaxhighlight>
 
  
====Cairo-dock====
+
==Cairo-dock==
 
Nice and usefull dock to access your applications.
 
Nice and usefull dock to access your applications.
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
apt-get install cairo-dock cairo-dock-plug-ins cairo-dock-plug-ins-integration
 
apt-get install cairo-dock cairo-dock-plug-ins cairo-dock-plug-ins-integration
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 
Then, add it to startup:
 
Then, add it to startup:
Launch cairo-dock, right click on it ;  
+
* Launch cairo-dock, right click on it ;  
in the "cairo-dock" menu click 'add it to startup'
+
* in the "cairo-dock" menu click 'add it to startup'
  
 
Alternative way of adding it to startup:
 
Alternative way of adding it to startup:
Xubuntu > start menu > all settings > Session and startup > "application autostart" > Add
+
* Xubuntu > start menu > all settings > Session and startup > "application autostart" > Add
 +
 
 +
 
 +
 
 +
 
 +
=Graphical=
  
  
===Graphical===
+
==Gimp==
====Gimp====
 
 
Gimp is an excellent tool:
 
Gimp is an excellent tool:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
apt-get install gimp gimp-help-common
 
apt-get install gimp gimp-help-common
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 
Some extra features:
 
Some extra features:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
apt-get install gimp-data-extras gimp-gmic gimp-ufraw gnome-xcf-thumbnailer
 
apt-get install gimp-data-extras gimp-gmic gimp-ufraw gnome-xcf-thumbnailer
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 
Help
 
Help
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Line 233: Line 307:
  
  
===Internet===
+
 
====Google Chrome====
+
=Network tools=
Download the latest version of Chrome: https://www.google.com/intl/en/chrome/browser/
+
 
+
 
Install the package using:
+
==Curl==
 +
Use ''curl'' to check some URLs
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
sudo dpkg -i google-chrome.deb
+
apt-get install curl
 
</syntaxhighlight>
 
</syntaxhighlight>
  
If you encounter some errors during installation, just do:  
+
 
 +
==SSH manager==
 +
To manage SSH connections, PAC manager is an excellent tool. see http://sourceforge.net/projects/pacmanager/
 +
 
 +
* Install the required package
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
sudo apt-get install -f && sudo dpkg -i google-chrome.deb
+
apt-get install libgtk2-appindicator-perl
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Filezilla (FTP client)====
+
* Download the latest version
 +
 
 +
* install the package:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install filezilla
+
sudo dpkg -i pac.deb
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Skype====
+
In case of error:  
Download skype from the official website: http://www.skype.com/
 
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
sudo dpkg -i skype-ubuntu-XX.deb
+
Errors were encountered while processing: pac
 
</syntaxhighlight>
 
</syntaxhighlight>
  
If you encounter some errors during installation, just do:  
+
Just do:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
sudo apt-get install -f && sudo dpkg -i skype-ubuntu-XX.deb
+
sudo apt-get install -f && sudo dpkg -i pac.deb
 
</syntaxhighlight>
 
</syntaxhighlight>
  
  
 
+
==Remmina==
===Office tools===
+
Remmina is an excellent tool to manage Windows Remote Desktop Connections. see http://remmina.sourceforge.net/
====Libre office====
 
=====Core features=====
 
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install libreoffice libreoffice-calc libreoffice-draw  libreoffice-impress libreoffice-writer libreoffice-templates libreoffice-pdfimport
+
apt-get install rdesktop
 +
apt-get install remmina remmina-plugin-vnc remmina-plugin-gnome remmina-plugin-rdp
 
</syntaxhighlight>
 
</syntaxhighlight>
  
=====Proficient tools=====
+
 
'''ENGLISH'''
+
 
 +
=Security=
 +
 
 +
 
 +
==Security audit==
 +
Port scanner:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install hunspell-en-us hyphen-en-us mythes-en-us
+
apt-get install nmap
 
</syntaxhighlight>
 
</syntaxhighlight>
If you don't like the "hunspell" dictionnary you can install "myspell" instead:
+
 
 +
Interface listeners:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install myspell-en-us
+
apt-get install tshark wireshark wireshark-doc
 
</syntaxhighlight>
 
</syntaxhighlight>
  
  
'''Francais'''
+
==OpenVPN==
 +
That will install openvpn client + server + UI client to manage ovpn files.
 +
 
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install hunspell-fr hyphen-fr mythes-fr
+
apt-get install openvpn
 +
apt-get install network-manager-openvpn
 
</syntaxhighlight>
 
</syntaxhighlight>
  
  
'''Svenska'''
+
 
 +
=Development=
 +
 
 +
 
 +
==Sublime text==
 +
''Sublime text'' is a nice alternative to default editors such as ''Vim'', ''Gedit'', '''MousePad''', ...
 +
 
 +
* Just download it from the official website: http://www.sublimetext.com/
 +
 
 +
* Then, extract it in ''/opt/sublime_text/'' and run it! ;)
 +
 
 +
 
 +
==Bess hexadecimal editor==
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install hunspell-sv-se
+
apt-get install bless
 
</syntaxhighlight>
 
</syntaxhighlight>
  
=====Other UI languages=====
 
'''Francais'''
 
<syntaxhighlight lang="bash">
 
apt-get install libreoffice-l10n-fr libreoffice-help-fr
 
</syntaxhighlight>
 
  
 +
==MySQL workbench==
 +
apt-get install mysql-workbench
 +
 +
 +
==DbVisualizer==
 +
DbVisualizer is a generic tool to access different types of databases.
 +
http://www.dbvis.com/
 +
 +
===Installation===
 +
* Go to DOWNLOAD
  
'''Svenska'''
+
* Download the latest version for Linux: '''Linux x86 (setup installer)'''
<syntaxhighlight lang="bash">
 
apt-get install libreoffice-l10n-sv libreoffice-help-sv
 
</syntaxhighlight>
 
  
=====Cliparts=====
+
* Mark the downloaded file as executable and run it
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install openclipart-libreoffice openclipart2-libreoffice
+
chmod 755 dbvis_linux_9_1_8.sh
 +
./dbvis_linux_9_1_8.sh
 
</syntaxhighlight>
 
</syntaxhighlight>
!! Careful !! Total is about 760 Mb ! Just install the first package = 160Mb to get some cliparts.
 
  
 +
* Install the application
 +
** I advised you to put it in ''/opt/DbVisualizer''
 +
... First, you have to grant your user the right to use /opt : '''chown -R myUser:myUser /opt'''
  
===Drivers===
+
** Create symlinks in ''/usr/local/bin''
see [[Drivers]]
+
... If you're not root then this step might not succeed!
  
 +
* Installation is done! You can run the application
  
===Sublime text===
+
===Create advanced symlinks===
''Sublime text'' is a nice alternative to default editors such as ''Vim'', ''Gedit'', '''MousePad''', ...
+
Create new symlinks
 
+
<syntaxhighlight lang="bash">
* Just download it from the official website: http://www.sublimetext.com/
+
sudo ln -s /opt/DbVisualizer/dbvis /usr/local/bin/
 +
</syntaxhighlight>
  
* Then, extract it in ''/opt/sublime_text/'' and run it! ;)
+
===Create icon===
 +
for Xubuntu only
  
 +
* Go to start menu > Settings > Menu Editor
  
 +
* Under development, add a new launcher
 +
** Command: '''/opt/DbVisualizer/dbvis
  
===GIT===
 
  
 +
==GIT==
 
Help page: http://git-scm.com/book/en/  
 
Help page: http://git-scm.com/book/en/  
  
====Installation====
+
===Installation===
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev
 
apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev
Line 346: Line 457:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Configuration====
+
===Configuration===
 
Run the following commands a '''standard user''', not root!
 
Run the following commands a '''standard user''', not root!
  
Line 355: Line 466:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
====Get project files====
+
===Get project files===
 
Run the following commands a '''standard user''', not root!
 
Run the following commands a '''standard user''', not root!
  
Clone an existing project
+
* Clone an existing project
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
git clone [url] [targetFolder]
 
git clone [url] [targetFolder]
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Perform operation using Git GUI
+
* Perform operation using Git GUI
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
cd [my GIT repo]
 
cd [my GIT repo]
Line 370: Line 481:
  
  
Check files status
+
* Check files status
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
git status
 
git status
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Add file
+
* Add file
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
git add [file]
 
git add [file]
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Commit  
+
* Commit  
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
git commit -m "my comment"
 
git commit -m "my comment"
Line 386: Line 497:
  
  
====Ignore files===
+
===Ignore files in GIT===
 
Create a file called .gitignore to the root of your GIT repo.  
 
Create a file called .gitignore to the root of your GIT repo.  
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">

Revision as of 16:33, 22 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


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


Help pages

apt-get install manpages


Drivers

see Drivers



Utilities

Guake

Installation

apt-get install guake

Add Guake to boot sequence:

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


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


USB startup disk (unetbootin)

apt-get install unetbootin


Windows emulator

apt-get install wine

Required libs, to be install in a 2nd time

apt-get install q4wine


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


UI (menu) languages

Francais

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

Svenska

apt-get install libreoffice-l10n-sv libreoffice-help-sv


Cliparts

Nowdays you don't need to install it. Just use Google images instead!

apt-get install openclipart-libreoffice openclipart2-libreoffice

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



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


VLC

apt-get install vlc


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


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


Network tools

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


Security

Security audit

Port scanner:

apt-get install nmap

Interface listeners:

apt-get install tshark wireshark wireshark-doc


OpenVPN

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

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


Development

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! ;)


Bess hexadecimal editor

apt-get install bless


MySQL workbench

apt-get install mysql-workbench


DbVisualizer

DbVisualizer is a generic tool to access different types of databases. http://www.dbvis.com/

Installation

  • Go to DOWNLOAD
  • Download the latest version for Linux: Linux x86 (setup installer)
  • Mark the downloaded file as executable and run it
chmod 755 dbvis_linux_9_1_8.sh
./dbvis_linux_9_1_8.sh
  • Install the application
    • I advised you to put it in /opt/DbVisualizer

... First, you have to grant your user the right to use /opt : chown -R myUser:myUser /opt

    • Create symlinks in /usr/local/bin

... If you're not root then this step might not succeed!

  • Installation is done! You can run the application

Create advanced symlinks

Create new symlinks

sudo ln -s /opt/DbVisualizer/dbvis /usr/local/bin/

Create icon

for Xubuntu only

  • Go to start menu > Settings > Menu Editor
  • Under development, add a new launcher
    • Command: /opt/DbVisualizer/dbvis


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 in GIT

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