- Details
- Lubos Rendek
- Debian
/etc/apt/sources.list
file to reduce package download requirement. Make sure that your CD is inserted to your CD-ROM drive and enter command: # apt-cdrom add
/etc/apt/sources.list
file to reduce package download requirement. Make sure that your CD is inserted to your CD-ROM drive and enter command: # apt-cdrom add
# wget http://goo.gl/lzyQw2 Saving to: `SugarCE-6.5.18.zip' 100%[===========>] 21,267,418 722K/s in 34s 2014-10-20 06:09:54 (615 KB/s) - `SugarCE-6.5.18.zip' saved [21267418/21267418]
git
and then download WarZone2100's latest source code: # apt-get install git $ git clone https://github.com/Warzone2100/warzone2100.git
# /etc/apt/sources.list :
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
# /etc/apt/sources.list :
deb http://ftp.au.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.au.debian.org/debian/ jessie main contrib non-free
# /etc/apt/sources.list :
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
# /etc/apt/sources.list :
deb http://ftp.au.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.au.debian.org/debian/ wheezy main contrib non-free
sudo
command is required. sudo
command$ lsmod .... ehci_hcd 40249 0 usbcore 128741 4 ehci_hcd,ohci_hcd,usbhid usb_common 12354 1 usbcore e1000 86156 0 libata 140630 4 libahci,ahci,ata_piix,ata_generic ....
# apt-get install gawk lm-sensors binutils mesa-utils hddtemp sudo
# cd /tmp/ # wget -Nc --no-check-certificate https://inxi.googlecode.com/svn/trunk/inxi.tar.gz # tar xzf inxi.tar.gz
# cp /tmp/inxi /usr/local/bin/
# cp /tmp/inxi.1.gz /usr/share/man/man1/
# mkdir /opt/media # COPY YOUR MEDIA FILES TO /opt/mediaNext, install forked-daapd daemon:
# apt-get install forked-daapd
# /etc/init.d/forked-daapd status forked-daapd is runningand you may also want to check on what port is forked-daapd listening. The default socket is 0.0.0.0:3689.
If you have not installed wireless firmware to support your wireless network card during Debian wheezy installation you can do so later by enabling debian's non-free repository. Here is how you do it. First open your /etc/apt/sources.list file and change line ( your repository mirror may be different ):
from:
deb http://http.debian.net/debian/ wheezy main
to:
deb http://http.debian.net/debian/ wheezy main non-free
Once done update packages list with a command:
# apt-get update
Debian by default comes with Iceweasel web browser instead of firefox. Although it is recommended to use Iceweasel you may have a need to install firefox are here is a simple way how to install firefox on Debian wheezy by using Linux mint's debian import repository. First edit your /etc/apt/sources.list file and add the following line:
deb http://packages.linuxmint.com debian import
Update your package list:
# apt-get update
The above command will fetch mint package repository list. As a last step install firefox browser:
In order to install Intel Corporation PRO/Wireless 2200BG Network Connection network interface on debian 4.0 etch do following steps:
1)
apt-get install module-assistant
List all installed packages.
EXAMPLES:
dpkg returns a number of installed packages:
$ dpkg -l | wc -l
1209
ask dpkg to return only packages related to php. This will include installed and non-installed packages:
$ dpkg -l *php*
Using dpkg with grep to see only installed packages
dpkg -l | grep php
dpkg -L will show whether the package is installed. If the package is installed dpkg will show related files and their locations whithin the filesystem.
EXAMPLES:
$ dpkg -L ntpdate
/.
/etc
/etc/network
/etc/network/if-up.d
/etc/network/if-up.d/ntpdate
/etc/logcheck
...
$ dpkg -L php5-json
Package `php5-json' is not installed.
Here are simple steps on how to install custom build or existing Debian kernel within a chroot environment. In this example we do not install a new version of Debian in chroot environment but we use the existing installation. Let's create directory for a chroot environment:
# mkdir -p /mnt/chroot
First we need to mount a partition with existing Debian installation. In our case a / partition of existing installation is /dev/hdb1 .
# mount /dev/hdb1 /mnt/chroot
jdownloader is a great tool to download file from share websites like rapidshare.com and many more. Here are simple steps on how to install jdownloader on Ubuntu or Debian Linux distributions:
First install all prerequisites:
apt-get install openjdk-6-jre sun-java6-jre default-jre \ zenity default-jre-headles sun-java6-bin \ openjdk-6-jre-headless
Installing this plugin on any Linux system should be a easy task. First download google-talkplugin_current_i386.deb package. On a Ubuntu system use:
sudo dpkg -i google-talkplugin_current_i386.deb
on a system where sudo is not present by default first change to root:
su
and then enter:
dpkg - i google-talkplugin_current_i386.deb