This guide is in my native language, Norwegian. It contains my favorite installs after installing a debian-based linux OS, like jessie/sid, wheezy, kali linux etc.
Denne guiden er laget for å huske alle programmer/kommandoer for å installere et debian-basert linux-OS med alle programmer som jeg liker å ha og bruker ofte.
ting jeg vil ha til å fungere, men enda ikke funker på kali 64-bit system
spotify
nvidia geforce 860m
Denne er under oppdatering, og ikke ferdig. (still in progress)
1. Oppgradere Jessie Kun hvis du har installert Wheezy/Jessie, og vil oppgradere.
- legg disse i din /etc/apt/sources.list
deb http://ftp.us.debian.org/debian jessie main
deb-src http://ftp.us.debian.org/debian jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
- gå videre med:
apt-get update
apt-get upgrade
apt-get dist-upgrade
snatched from: http://www.dailylinuxnews.com/blog/2014/09/things-to-do-after-installing-debian-jessie/
2. Innstallere Mozilla Firefox
- For å få flash og spille av flere multimedia filtyper bør du avinnstallere Iceweasel som er en firefox-klone og installere firefox
apt-get remove iceweasel
apt-get update
apt-get install firefox-mozilla-build
4. Innstallere Flash-player
Last ned flash fra adobe sin side.Pakk ut filene. Da har du dette i den nye mappen:
libflashplayer.so readme.txt usr
kopier den nye usr-mappen i pakken til /usr på din maskin:
cp -R usr/ /usr
kopier libflashplayer.so til plugins-mappen til firefox feks:
cp libflashplayer.so /usr/lib/mozilla/plugins/
Restart firefox.
firefox &
3. Spotify på Debian/Kali linux
Du må oppdatere din /etc/apt/sources.list slik:
# 1. Add this line to your list of repositories by
# editing your /etc/apt/sources.list
deb http://repository.spotify.com stable non-free
#If you want to verify the downloaded packages, you will need to add our public key:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 94558F59
#Run apt-get update
sudo apt-get update
#Install spotify!
sudo apt-get install spotify-client
# 5. Start spotify
spotify &
På kali linux 64-bit maskinen min har jeg fortsatt ikke fått spotify til å fungere native (uten wine), men på kali linux og debian jessie og wheezy fungerer den fint med ovenstående kommandoer.
- følgende feilmelding dukker opp:
- spotify: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by spotify)
- spotify: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /opt/spotify/spotify-client/Data/libcef.so)
- spotify: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by /opt/spotify/spotify-client/Data/libcef.so)
tester: https://www.youtube.com/watch?v=b0KbXS4_Kk8
funker ikke
leste denne: https://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/Spotify-0-9-10-for-GNU-Linux-Welcome-to-the-dark-side/td-p/556976/page/26
så må nedgradere spotify til en tidligere versjon
tester: https://github.com/olejon/spotcommander/wiki/DowngradeSpotify
libssl kan bli et problem: http://askubuntu.com/questions/77256/i-want-to-install-libssl-0-9-8
funket ikke med versjon: Spotify 0.9.4 64-bit
som ble foreslått på spotify-community
uninstalling spotify:
sudo apt-get -y purge spotify-client
prøver denne:
http://roger.steneteg.org/410/spotify-on-debian-wheezy/
sudo apt-get install libqt4-dbus libqt4-network libnspr4-0d
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Må inn å slette libssl0.9.8 fra dependency i status:
root@kali:/var/lib/dpkg# vi status
bruk kommando / for å søke
skriv inn spotify-client
du kommer da hit i fila:
bruk kommando: i
for å inserte noe/slette fra fila
Package: spotify-client
Status: install ok installed
Priority: extra
Section: sound
Installed-Size: 114456
Maintainer: Spotify <libspotify@spotify.com>
Architecture: amd64
Source: spotify
Version: 1:0.9.4.183.g644e24e.428-1
Replaces: spotify-client-gnome-support (<< 1:0.8.0), spotify-client-qt (<< 1:0.8.0)
Provides: spotify-client-gnome-support, spotify-client-qt
Depends: libasound2 (>= 1.0.14), libc6 (>= 2.6), libqt4-dbus (>= 4.5.0), libqtcore4 (>= 4.5.0), libqtgui4 (>= 4.5.0), libqt4-network (>= 4.5.0), libstdc++6 (>= 4.0.0), libxss1 (>= 1:1.2.0), usbutils, libnspr4-0d, libgconf2-4, libgtk2.0-0, libnss3-1d, libssl0.9.8, libglib2.0-0, xdg-utils (>= 1.0.2), dbus-x11, libudev0 | libudev1
Recommends: libavcodec53 | libavcodec52 | libavcodec-extra-53 | libavcodec-extra-52, libavformat53 | libavformat52 | libavformat-extra-53 | libavformat-extra-52
Conflicts: spotify-client-gnome-support (<< 1:0.8.0), spotify-client-qt (<< 1:0.8.0)
Description: Spotify desktop client
:w for å skrive fila
:q for å avslutte vi
So now we need to download libssl0.9.8 from the Debian package website http://packages.debian.org/squeeze/libssl0.9.8
nr1@kali:~/downloads$ dpkg -x libssl0.9.8_0.9.8o-4squeeze14_amd64.deb /tmp/libssl0.9.8
nr1@kali:~/downloads$ sudo mv /tmp/libssl0.9.8/usr/lib /usr/share/spotify/libssl0.9.8
root@kali:/usr/share/applications# vi spotify.desktop
endre til:
Exec=spotifystart %U TryExec=spotify-start
Lag et script du feks kaller noe med spotify: spotifystart
#!/bin/bash # Add libssl0.9.8 path LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/share/spotify/libssl0.9.8 spotify $1
Hurra!
nr1@kali:/usr/local/bin$ spotifystart
00:41:33.216 I [breakpad.cpp:107 ] Registered Breakpad for product: spotify
00:41:33.218 I [translate.cpp:140 ] Reloading language file
it starts!
4. Innstallere KDE Desktop
KDE sin desktop "Plasma" er full av finesser og gadgets. Du kan si hva du vil om den, men jeg liker den.sudo apt-get install kde-plasma-desktop
Installere skjermkort drivere feks. Nvidia GeForce 860
Installere ekstra codecs
sudo apt-get install libavcodec-extrasudo apt-get install gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-fluendo-mp3 gstreamer0.10-pulseaudio
sudo apt-get install libgstreamer-perl libgstreamer-interfaces-perl
Java8 SDK and JRE
from: http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html
su root
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer
exit
Scribus
Programmeringsverktøy
Python
Python-kivy(fungerer kun på debian sid)
Eclipse - rammeverk for programutvikling
sudo apt-get install eclipseFonter
sudo apt-get install ttf-freefont ttf-mscorefonts-installer ttf-bitstream-vera ttf-dejavu ttf-liberationicedtea for java-plugins
sudo apt-get install icedtea-plugin
Diverse - PDF-leser okular, evince, libreoffice, vlc, shotwell
sudo apt-get install file-roller evince okular parcellite qalculate clementine vlc bleachbit shotwell gparted gnome-disk-utility libreoffice chromium terminator gimp
Firewall
UFW - Uncomplicated FireWallsudo apt-get install ufw
Grafisk grensesnitt for UFW
sudo apt-get install gufw
Nettverk
Network manager og nm-applet (i verktøylinjen)
sudo apt-get install network-manager-gnome
eller hvis bruker kde:
network-manager-kde
start nm-applet:
nm-applet &
Pakke-konverterer Alien
RPM
packages are precompiled and built for Red Hat Based Linux Distribution
and can be installed only using yum, Zypper and RPM based package
managers.
Since Kali Linux is based on Debian you can not install RPM packages directly using apt or dpkg package managers.
However, you can try a utility called Alien which can convert one package format into other but this doesn't mean every RPM will work since packages link to another packages for dependencies and this can cause troubles.
To install Alien and necessary package, run this command
To convert a package from RPM to debian format, use this command:
To install the package:
Since Kali Linux is based on Debian you can not install RPM packages directly using apt or dpkg package managers.
However, you can try a utility called Alien which can convert one package format into other but this doesn't mean every RPM will work since packages link to another packages for dependencies and this can cause troubles.
To install Alien and necessary package, run this command
$ sudo apt-get install alien dpkg-dev debhelper build-essential
To convert a package from RPM to debian format, use this command:
$ sudo alien packagename.rpm
To install the package:
$ sudo dpkg -i packagename.deb
Skjermkort - NVIDIA GeForce 860 linux driver
På debian var det problemer å starte X med dette skjermkortet, måtte prøve med forskjellige innstillinger i grub: nomodeset, nouveau.setmode=0 osv, men fungerte ikke, latterlig!På kali linux fungerer det fint, uten å redigere i grub. Men jeg vil ha grafikk aksellerasjon.
Mer om dette her:
http://www.blackmoreops.com/2014/06/27/kali-linux-1-0-7-kernel-3-14-install-proprietary-nvidia-driver/
Last ned driver fra nvidia her:
http://www.geforce.com/drivers/results/80647
installere kjerne kildefiler /kernel sources:
sudo apt-get install linux-headers-`uname -r
README her:
http://us.download.nvidia.com/XFree86/Linux-x86_64/340.65/README/index.html
OBS! til slutt fant run-filen kildefilene den trengte og det virket som innstallasjonen gikk bra, men så så jeg på denne siden til blackmoreops og gjorde derfor følgende:
First check if system is using glx module.
glxinfo | grep -i "direct rendering"
It should output “direct rendering: Yes”
MIN output var: ... vel borte nå, men det var ikke yes!
(NÅ er den: Error: couldn't find RGB GLX visual or fbconfig)
nr1@kali:~$ sudo dpkg --configure -a
Setting up nvidia-installer-cleanup (20131102+1~bpo70+1) ...
WARNING: The '--no-runlevel-check' option is deprecated: nvidia-installer will ignore this option.
Welcome to the NVIDIA Software Installer for Unix/Linux
If you plan to no longer use the NVIDIA driver, you should make sure that no X screens are configured to use the
NVIDIA X driver in your X configuration file. If you used nvidia-xconfig to configure X, it may have created a
backup of your original configuration. Would you like to run `nvidia-xconfig --restore-original-backup` to
attempt restoration of the original X configuration file?
[default: (N)o]: No
N
OBS!!! DETTE TAR LANG TID... MAN TROR IKKE DET FUNGERER FORDI MAN IKKE SER AT DEN JOBBER, MEN DET GJØR DEN VIST...
Parsing log file:
Parsing: [# ] 1%dpkg: error processing nvidia-installer-cleanup (--configure):
subprocess installed post-installation script was killed by signal (Terminated)
Parsing: [##############################] 100%
Validating previous installation:
Validating: [## ] 4%Errors were encountered while processing:
nvidia-installer-cleanup
nr1@kali:~$ No
bash: No: command not found
nr1@kali:~$ N
bash: N: command not found
nr1@kali:~$
Validating: [##############################] 100%
Uninstalling NVIDIA Accelerated Graphics Driver for Linux-x86_64 (1.0-34065 (340.65)):
Uninstalling: [##############################] 100%
Uninstallation of existing driver: NVIDIA Accelerated Graphics Driver for Linux-x86_64 (340.65) is
complete.
Se mer på denne: http://apt-get-upgrade-linux.blogspot.de/2014/12/nvidia-geforce-driver-installasjon-kali.html
SD card reader driver
Bruk av minnekort SD til kamera med fler, trengs denne driveren.sudo apt-get install exfat-fuse exfat-utils
VPN - Virtual Private Network
Unngå å bli overvåket, krypter din internetttilkobling ved hjelp av VPN.feks. mullvad eller lignende.
Ingen kommentarer:
Legg inn en kommentar