![]() |
|
How to install software - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5) +--- Forum: Tutorials (https://www.linuxliteos.com/forums/forumdisplay.php?fid=21) +--- Thread: How to install software (/showthread.php?tid=711) |
How to install software - anon222 - 08-10-2014 Installing software with synaptic package manager: 1. Open synaptic package manager With menu (Install/Remove Software) or with this terminal command: Code: sudo synaptic3. Search for software in the search box. 4. Right click each software you want to install and mark them for installation.This will mark additional dependencies automatically. 5. After marking for installation, click on Apply to start downloading an installing all the marked applications. PPA method: 1. Search for PPA's with google. Type something like "ppa for app" For example: ppa for qmplay2, ppa for firefox 2. Open the terminal and add PPA address Code: sudo add-apt-repository ppa:whatever_the_address_ isCode: sudo apt-get updateMake sure those PPA's are trusted. For example if some sites recomend them. You don't want to install software from an untrusted source. Also make sure to add only stable version of a PPA. Another way to add PPA's is with GUI tool, enter: Code: software-properties-gtk --open-tab=1Installing applications with Terminal: 1. Open the terminal and type in Code: sudo apt-get updateCode: sudo apt-get install nameIf you know a certain aplication's name but you don't know the exact package name of that application so you can install it, you can find the exact package name with apt-cache or aptitude: apt-cache The apt-cache command line tool is used for searching apt software package cache. If you haven't done this allready, open your terminal and type: Code: sudo apt-get updateCode: apt-cache pkgnamesCode: apt-cache pkgnames | lessCode: apt-cache pkgnames | moreTo find out the package name and it's description, use the "search" flag. For example, you can search for gnome-mines. Code: apt-cache search gnome-minesgnome-mines - popular minesweeper puzzle game for GNOME gnomine - popular minesweeper puzzle game for GNOME (transitional package) To display all packages starting with word "fire" ( you can use whatever) type: Code: apt-cache pkgnames fireCode: apt-cache show firefoxCode: apt-cache showpkg firefoxCode: apt-cache statsaptitude You can use ncurses interface (menu-like command line interface) or search through cli (command line interface). To run aptitude with ncurses interface: Code: aptitudeIf you don't know what you are doing don't use aptitude with NCURSES interface! Seaching with CLI method: This lists all avaiable packages. Code: aptitude search ~T | lessc -the package was deleted but its configuration files remain on the system i -installed packages v -virtual packages A -package was automatically installed This lists installed packages: Code: aptitude search ~i | lessCode: aptitude search ~v | lessCode: aptitude search ~U | lessCode: aptitude search firefox | lessCode: aptitude search fire | lessCode: aptitude search ~ifire | lessCode: aptitude show firefoxInstalling .deb packages: If you downloaded .deb package from the internet there are two methods available to install software. 1. Find the .deb package double click .on it,(or type gdebi-gtk in the terminal and open the file with gdebi package manager) and click install. 2. Open the terminal, Code: cd path_to_the_directory_that_contains_the_.deb_fileThis will list all .deb files in the directory, it will help you with the next step because you will need .deb file's name. Code: ls *.debCode: sudo dpkg -i filename.debInstalling .run files Code: cd path_to_the_directory_that_contains_the_.run_fileCode: chmod +x filename.runCode: ./filename.runCode: sudo ./filename.runInstalling .sh files Code: cd path_to_the_directory_that_contains_the_.sh_fileCode: chmod +x filename.sh Code: ./filename.shCode: sudo ./filename.shInstalling from source code If you downloaded .tar .tar.bz tar.bz2 or even .zip archive from the internet these archives contain source code, and you will have to compile that source code in order to install that software. First install build-essential Code: sudo apt-get updateCode: sudo apt-get install build-essentialCode: cd path_to_the_archiveCode: tar -xzvf filename.tar.gzCode: tar -xjvf filename.tar.bz22. Enter the extracted directory, it will be the same as the archive filename. Code: cd filenameCode: ./configureCode: sudo apt-get install whatever_it_tells_youRepeat ./configure, and if it fails again install dependencies, and so on untill ./configure completes successfully. 4. Once ./configure completes successfully, you’re ready to compile. Compile: Code: make5. Use this command to install it to your system: Code: sudo make installit’s a good idea to stick with distribution’s official packages or the ppa. Re: How to install software - Scott(0) - 08-10-2014 Hi Misko_2083, This is a fantastic tutorial. Thank you very much for the hard work! Re: How to install software - anon222 - 08-10-2014 (08-10-2014, 02:49 PM)Scott(0) link Wrote:Hi Misko_2083,Hi Scott(0), I'm glad someone appreciates.
Re: How to install software - rijnsma - 08-10-2014 Great overview!
Re: How to install software - valtam - 08-10-2014 Wo misko_2083!!! Your a machine Freakin awesome, thank you and Stickied.
Re: How to install software - gold_finger - 08-10-2014 Excellent tutorial misko_2083!!! Re: How to install software - light - 08-11-2014 Nice one, that's what you call a quality post :o 8) Re: How to install software - anon222 - 08-12-2014 (08-11-2014, 01:49 AM)light link Wrote:Nice one, that's what you call a quality post :o 8)Thank you light. ;D (08-10-2014, 10:32 PM)gold_finger link Wrote:Excellent tutorial misko_2083!!!Thank you!!! (08-10-2014, 08:53 PM)Valtam link Wrote:Wo misko_2083!!! Your a machineThank you Valtam, "I'll be back!" 8) Re: How to install software - Hans - 08-14-2014 Wow!! I wish there were posts, so thorough, like this one when I was a newby. Thanks very much misko!! Re: How to install software - N4RPS - 08-15-2014 Hello! Definitely an awesome tutorial. It clears up a lot of questions I had concerning compiling things from source... 73 DE N4RPS Rob |