You are Here:
Linux Lite 4.8 Final is now available for download and installation



How to install software

Author (Read 35866 times)

0 Members and 8 Guests are viewing this topic.

How to install software
« on: August 10, 2014, 10:29:19 AM »
 

misko_2083

  • Gold Level Poster
  • *******
  • 690
    Posts
  • Reputation: 189
  • Linux Lite Member

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
Installing software with synaptic package manager:
1. Open synaptic package manager
With menu (Install/Remove Software) or with this terminal command:
Code: [Select]
sudo synaptic2. Click Reload to  to download the latest package lists from the repositories.
3. 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: [Select]
sudo add-apt-repository ppa:whatever_the_address_ is3. Update package lists from the repository.
Code: [Select]
sudo apt-get update4. Install application with synaptic or use the terminal method.
Make 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: [Select]
software-properties-gtk --open-tab=1Then click on Add and type in the PPA.
 
Installing applications with Terminal:
1. Open the terminal and type in
Code: [Select]
sudo apt-get update2. Install the application, instead of 'name' type in application's package name
Code: [Select]
sudo apt-get install nameOptional: Instead of apt-get you can use aptitude (sudo aptitude install name)
If 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: [Select]
sudo apt-get updateTo list all the available packages, type this command:
Code: [Select]
apt-cache pkgnamesYou can pipe the output of this command to less or more
Code: [Select]
apt-cache pkgnames | less
Code: [Select]
apt-cache pkgnames | moreLess allows you to scroll from within even a non-scrollable terminal, more prints a page then you press enter to bring up every line after that.
To find out the package name and  it's description, use the "search" flag.
For example, you can search for gnome-mines.
Code: [Select]
apt-cache search gnome-minesThis is the output:
gnome-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: [Select]
apt-cache pkgnames fire
...
firefox
firefox-locale-zh-hant
firefox-locale-csb
firefox-locale-zu
firefox-mozsymbols
firebird2.5-super-dbg
firedns
firebird2.5-common
firehol
firefox-globalmenu
firefox-locale-ast
firebird2.5-examples
If you want to display package version number, check sums, size, installed size, category... use show:
Code: [Select]
apt-cache show firefoxTo check dependencies for specific packages use showpkg.
Code: [Select]
apt-cache showpkg firefoxThe stats sub command will display overall statistics about the cache.
Code: [Select]
apt-cache stats
aptitude
You can use ncurses interface (menu-like command line interface) or search through cli (command line interface).
To run aptitude with ncurses interface:
Code: [Select]
aptitude
If 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: [Select]
aptitude search ~T | lessp -package is not installed
c -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: [Select]
aptitude search ~i | lessThis matches any package which is purely virtual: that is, its name is provided by a package or mentioned in a dependency, but no package of that name exists.
Code: [Select]
aptitude search ~v | lessThis  matches any installed package which can be upgraded
Code: [Select]
aptitude search ~U | lessLists all firefox packages:
Code: [Select]
aptitude search firefox | lessThis will list all packages containing word "fire":
Code: [Select]
aptitude search fire | lessThis will list all installed packages containing word "fire":
Code: [Select]
aptitude search ~ifire | lessTo display detailed information about package use show flag:
Code: [Select]
aptitude show firefox
Installing .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: [Select]
cd path_to_the_directory_that_contains_the_.deb_fileExample: If you saved it in /home/user/Downloads type cd /home/user/Downloads
This 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: [Select]
ls *.debInstall it with this, just change "filename" to the deb package name.
Code: [Select]
sudo dpkg -i filename.deb
Installing .run files
Code: [Select]
cd path_to_the_directory_that_contains_the_.run_file
Code: [Select]
chmod +x filename.run
Code: [Select]
./filename.run or if it needs root permision
Code: [Select]
sudo ./filename.run
Installing .sh files
Code: [Select]
cd path_to_the_directory_that_contains_the_.sh_file
Code: [Select]
chmod +x filename.sh 
Code: [Select]
./filename.sh if it needs root permission
Code: [Select]
sudo ./filename.sh
Installing 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: [Select]
sudo apt-get update
Code: [Select]
sudo apt-get install build-essential1. Navigate to the directory where you downloaded archive and extract the archive
Code: [Select]
cd path_to_the_archiveUse this command to extract a .tar.gz file:
   
Code: [Select]
tar -xzvf filename.tar.gzOr use this command to extract a .tar.bz2 file:
   
Code: [Select]
tar -xjvf filename.tar.bz2Instead of extracting the archive with the Terminal, you can open the directory with file manager and use Xarchiver or any other application to do this.
2. Enter the extracted directory, it will be the same as the archive filename.
Code: [Select]
cd filename3. Once you’re in the extracted directory run:
Code: [Select]
./configureIf it fails, it will tell you to install the dependencies. Install them:
Code: [Select]
sudo apt-get install whatever_it_tells_youNote that some applications may not use ./configure. Check the “README” or “INSTALL” file in the application’s extracted folder for more specific instructions.
Repeat ./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: [Select]
makeAfter this command finishes, the program is successfully compiled.
5.  Use this command to install it to your system:
Code: [Select]
sudo make install6. Note: Programs you install this way won’t be automatically updated even if they contain security vulnerabilities.
it’s a good idea to stick with distribution’s official packages or the ppa.
Last Edit: August 15, 2014, 12:45:15 PM by misko_2083
 


Re: How to install software
« Reply #1 on: August 10, 2014, 10:49:18 AM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 858
    Posts
  • Country: 00
  • Reputation: 186
  • Linux Lite Member

  • Linux Lite: 3.4 64bit

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
Hi Misko_2083,

This is a fantastic tutorial. Thank you very much for the hard work!
 

Re: How to install software
« Reply #2 on: August 10, 2014, 03:13:56 PM »
 

misko_2083

  • Gold Level Poster
  • *******
  • 690
    Posts
  • Reputation: 189
  • Linux Lite Member

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
Hi Misko_2083,

This is a fantastic tutorial. Thank you very much for the hard work!
Hi Scott(0),
I'm glad someone appreciates. :)
 

Re: How to install software
« Reply #3 on: August 10, 2014, 04:24:14 PM »
 

rijnsma

  • Forum Regular
  • ***
  • 211
    Posts
  • Reputation: 16
  • Never give up..
Great overview!  ;)
 

Re: How to install software
« Reply #4 on: August 10, 2014, 04:53:52 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7438
    Posts
  • Country: nz
  • Reputation: 699
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 3.8 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 960

  • Kernel: 4.x
Wo misko_2083!!! Your a machine :) Freakin awesome, thank you and Stickied.
 

Re: How to install software
« Reply #5 on: August 10, 2014, 06:32:14 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1095
    Posts
  • Country: us
  • Reputation: 324
  • Linux Lite Member

  • Linux Lite: 3.2 64bit

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Excellent tutorial misko_2083!!!
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: How to install software
« Reply #6 on: August 10, 2014, 09:49:36 PM »
 

light

  • Guest
Nice one, that's what you call a quality post  :o  8)
 

Re: How to install software
« Reply #7 on: August 12, 2014, 06:24:42 AM »
 

misko_2083

  • Gold Level Poster
  • *******
  • 690
    Posts
  • Reputation: 189
  • Linux Lite Member

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
Nice one, that's what you call a quality post  :o  8)
Thank you light.  ;D
Excellent tutorial misko_2083!!!
Thank you!!!
Wo misko_2083!!! Your a machine :) Freakin awesome, thank you and Stickied.
Thank you Valtam, "I'll be back!" 8)
 

Re: How to install software
« Reply #8 on: August 14, 2014, 06:08:22 AM »
 

Hans

  • New to Forums
  • *
  • 36
    Posts
  • Country: nz
  • Reputation: 8
  • Linux Lite Fellow

  • Linux Lite: 3.2 64bit
Wow!! I wish there were posts, so thorough, like this one when I was a newby.
Thanks very much misko!!
"...But don't forget the songs that made you cry
And the songs that saved your life
Yes, you're older now
And you're a clever swine
But they were the only ones who ever stood by you"
 

Re: How to install software
« Reply #9 on: August 14, 2014, 09:50:38 PM »
 

N4RPS

  • Donator
  • Platinum Level Poster
  • **********
  • 1151
    Posts
  • Country: us
  • Reputation: 154
  • Knows JUST ENOUGH Linux to be DANGEROUS
    • Orphans for Christ, Self Advocates of Mecklenburg

  • Linux Lite: 2.6 64bit

  • CPU: Several Different 32-bit & 64-bit CPUs, 2-8 GB RAM

  • MEMORY: 8Gb

  • VIDEO CARD: Several Different AMD and Intel GPUs
Hello!

Definitely an awesome tutorial. It clears up a lot of questions I had concerning compiling things from source...

73 DE N4RPS
Rob


A gun in your hand is worth more than a whole police force on the phone.
 

Re: How to install software
« Reply #10 on: August 17, 2014, 04:40:01 AM »
 

roshav

  • Guest
Thanks misko_2083

You are great and to write such clarity instruction.
Thank for your effort to this tutorial.

Chris

 

Re: How to install software
« Reply #11 on: October 08, 2014, 08:22:23 PM »
 

rbdflyboy

  • Occasional Poster
  • **
  • 84
    Posts
  • Reputation: 10
  • Linux Lite Member
Been looking all over for a tutorial exactly like this. What makes your tutorial a cut above the rest is the fact that all my questions have finally been answered. Have read many and the vast majority have left me with more questions than answers or written is such a way as to cause even more confusion.
When getting stuck, this will be my number one go to. Thank you so very much. (right here all along...)
 

Re: How to install software
« Reply #12 on: October 08, 2014, 10:26:43 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3185
    Posts
  • Country: 00
  • Reputation: 300

  • Linux Lite: 3.2 64bit
An excellent tutorial misko, thank you for making it :)
 

Re: How to install software
« Reply #13 on: October 09, 2014, 02:16:45 PM »
 

misko_2083

  • Gold Level Poster
  • *******
  • 690
    Posts
  • Reputation: 189
  • Linux Lite Member

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
Thanks guys, if you have any advice on how to make it even better please let me know.
 

Re: How to install software
« Reply #14 on: October 09, 2014, 04:24:19 PM »
 

rokytnji

  • Friganeer
  • Platinum Level Poster
  • **********
  • 1257
    Posts
  • Country: us
  • Reputation: 136

  • Linux Lite: 3.6 64bit

  • CPU: Intel Core2 Duo U9600

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Mobile 4
Thanks guys, if you have any advice on how to make it even better please let me know.
;D
Like a member here mentioned to me

Quote
Here is a tip
Install checkinstall

https://www.linuxliteos.com/forums/index.php?topic=841.msg4754#msg4754

Just playing around. I am a 12 year old at heart.

LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
 


Tags:
 


Linux Lite 4.8 Final is now available for download and installation