Advertising

How to install the newest linux kernel?

 

SparkyLinux 2.0 is based on Debian testing “Wheezy” so it featuring Linux kernel 3.2 LTS.
If you need to install the newest Linux kernel, you have to:
1. In text console edit (as root) “sources.list” and add Debian unstable “Sid” repos:
su
nano /etc/apt/sources.list

2. Add new lines on the end of the list:
## sid
deb http://ftp.debian.org/debian/ sid main contrib non-free
deb-src http://ftp.debian.org/debian/ sid main contrib non-free
deb http://www.deb-multimedia.org sid main non-free

3. Save it and refresh package list:
apt-get update

4. Open Menu-> Applications-> Administration-> Synaptic Package Manager
a. Click “Search” button and type “linux-image”
– if your computer is old ( CPU such as Pentium II, Pentium III, etc. ) choose
linux-image-(the-highest-number)-486

– if you have modern machine choose
linux-image-(the-highest-number)-686-pae

– if you run SparkyLinux x86_64 version choose
linux-image-(the-highest-number)-amd64

b. Then click “Apply” button to install it
c. Reboot your computer choosing new installed kernel from booting list.

 
Back to -> FAQ main page
 

How to remove a package?

 

If you don’t want to keep a package you can simple remove it in two different ways:

1. Synaptic
a. Open Menu-> Applications-> Administration-> Synaptic Package Manager
b. Find an installed package you want to trash
c. Mark it for Removal
d. Click “Apply” button

Synaptic

2. Text console

a. Run text console and type:

su
password for root:
apt-get remove package-name

 

b. After that clean the system:
su
apt-get autoremove
apt-get autoclean

 
Back to -> FAQ main page
 

How to install new package?

 

You can do it in a few different ways:

1. Synaptic
a. Open Menu-> Applications-> Administration-> Synaptic Package Manager
b. Click “Reload” button first, then “Mark All Upgrades”
c. Click “Search” button and type a name of a package then “Mark it for installation”
d. Click “Apply” button

Synaptic

2. Text console

a. Run text console and type:

su
password for root:
apt-get update

b. To find a package you request:
apt-cache search package-name

c. Install it:
apt-get install package-name

 

3. GDebi (package.deb)

If you downloaded a new package named “package.deb” from the network you can simple install it with double click. It will help you to install “.deb” packages with automatic dependency resolution (it automatically downloads and installs the required packages).

4. Text console (package.deb)

If you downloaded a new package named “package.deb” from the network you can install it in a text console:
su
password for root
dpkg -i /patch-to/package.deb

Remember that, it will not automatically downloads and installs the required packages, so try:
apt-get -f install

 
Back to -> FAQ main page
 

How to upgrade all packages?

 

You can do it in a few ways:

1. System Upgrade (recommended)
a. Open Menu-> System-> System Upgrade or the System Upgrade icon on the desktop’s panel.
b. Simply click “OK” button to upgrade the system now.

System Upgrade

 

2. Text console

a. Run text console and type:

su
password for root:
apt-get update
apt-get dist-upgrade
apt-get install -f

 

After packages upgrading / installation clean the system:
su
apt-get autoremove
apt-get autoclean

 

3. Sparky APTus

a. Open Menu-> System-> Sparky-APTus
b. Run “Update and Upgrade” tab -> Update package list.
c. Run “Update and Upgrade” tab -> Fully upgrade the system.
d. Run “Fix Broken” tab -> Fix broken packages via APT.

Sparky APTus

 

4. Synaptic
a. Open Menu-> Applications-> Administration-> Synaptic Package Manager
b. Click “Reload” button first, then “Mark All Upgrades” and “Apply”

Synaptic

 
Back to -> FAQ main page
 

Advertising