<!> Attention, cette page est une sauvegarde brute du contenu d'un ancien wiki avec comme syntaxe celle du moteur Wikiss. Il y a donc des différences de style.
!! Fedora Linux
[http://clicc.info/silvyn/wikiss/icons/pixelicious/book.png]
J'utilise la distribution Gnu/Linux 'Fedora' depuis 2005 avec sa version Fedora Core 3 (après avoir pleinement découvert Gnu/Linux avec Red Hat 9). La version actuelle est Fedora 12 (Constantine).
Une adresse à ne pas manquer, le portail de la communauté francophone : http://www.fedora-fr.org
Note : la section suivante traite essentiellement de l'utilisation de la ligne de commande ; non pas qu'il ne soit pas possible de tout faire avec une interface graphique, c'est juste parce que c'est plus facile et surtout plus rapide.
'Just yum it' : 'yum' est le nom du programme en ligne de commande pour ajouter/supprimer/mettre à jour des logiciels.
Il s'exécute en tant que root (administrateur). Ouvrir un terminal et exécuter la commande suivante :
su
Note : la commande su - permet de passer super administrateur.
Information générale : yum search nom_du_programme : rechercher un programme yum install nom_du_programme : pour installer un programme avec demande de confirmation yum -y install nom_du_programme : installe sans demande de confirmation yum remove nom_du_programme : supprimer un programme yum update : mettre à jour le système yum update –enablerepo=updates-testing nom_du_programme : active un dépôt non actif habituellemeent (ici updates-testing) yum history (new F12) (par exemple annulé la transaction 10 : yum history undo 28 yum provides '/usr/lib/libQtDBus.so.4' : qt-4.5.3-7.fc12.i686 : Qt toolkit donc yum install qt-4.5.3-7.fc12.i686
[http://blog.silvyn.net/public/logo/f12release.png]
!! Fedora 12
# yum install yum-fastestmirror
# rpm -ihv http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
# rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
# rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
# yum install flash-plugin AdobeReader_fra
# yum install samba (partage SMB, activer ensuite le service)
# ln -s /usr/lib/libcrypto.so.1.0.0 /lib/libcrypto.so.0.9.8 (pour LaCie Network Assistant)
# ln -s /usr/lib/libssl.so.1.0.0 /lib/libssl.so.0.9.8 (pour LaCie Network Assistant)
# yum install nbtscan (voir les partages Samba sur le réseau)
# yum install inkscape (ImageMagick)
# yum install gconf-editor filezilla nautilus-actions nautilus-image-converter nautilus-open-terminal unrar unace p7zip bluefish wget thunderbird pcmanfm
# yum install gstreamer-ffmpeg gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-plugins-bad-extras
# yum install gnome-do (mono-core)
# yum install ganyremote (anyremote)
# yum install mpd sonata
# yum install ufraw-gimp gimp-resynthesizer (gimp)
# yum install wine wine-alsa
# yum install echo-icon-theme fedoradna-gdm-theme fedorainfinity-backgrounds oxygen-icon-theme tango-icon-theme plymouth-theme-solar
# yum install fotoxx (ufraw)
# yum install gtk-murrine-engine
# yum install freetype-freeworld
# yum install revelation
# yum install libXp (pour Zimbra)
# yum install impressive vlc xchat jokosher gtk-recordmydesktop recordmydesktop pdftk pitivi cryptsetup dkms pyroom
# yum install openoffice.org-core openoffice.org-writer openoffice.org-calc openoffice.org-impress openoffice.org-draw openoffice.org-base openoffice.org-langpack-fr
# yum install compiz-fusion ccsm fusion-icon emerald emerald-themes
# yum groupinstall “Development Tools” (outils de développements, pour compiler un programme par exemple ; installe notamment en dépendance : kernel-devel et kernel-headers)
# yum install scribus
# yum install kdm
# yum install liveusb-creator
# yum groupinstall “Moblin Desktop Environment” (pour Netbook)
# yum install midori
# yum install gnome-shell (http://www.youtube.com/watch?v=9_B7VpIwdiY)
# rpm -ivh http://rpms.kwizart.net/kwizart-release-12.rpm
# yum –enablerepo=kwizart install freego
# yum install chromium
# cd /etc/yum.repos.d/
# urlgrabber http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
# yum install VirtualBox
http://doc.fedora-fr.org/w/index.php?title=VirtualBox_:_installation,_configuration,_utilisation&oldid=15853
# yum install gnome-do-plugins gnome-do-plugins-flickr
# yum install blender
http://handbrake.fr/downloads.php (HandBrake 0.9.4 sortie le 23/11/2009, OK F12 !)
http://handbrake.fr/rotation.php?file=HandBrake-0.9.4-Fedora_GUI_i686.rpm
# yum install backintime-gnome
https://spideroak.com/
# yum update –enablerepo=updates-testing inkscape (suite pb avec l'outil texte, plantage application)
# ls -s /opt/jre1.6.0_17_i586/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins
# mkdir /mnt/ressource
# mount -t cifs -o username=id,password=mdp 192.168.0.1/rep/asauv /mnt/ressource
# rsync -a -v /home/silvyn/Documents/ /mnt/ressource/
# yum install Zim (Desktop wiki & notekeeper)
# yum install alacarte
# yum install gparted
$ python -m SimpleHTTPServer ([cf astuce|http://blog.rom1v.com/2009/12/creer-un-serveur-http-en-10-secondes/comment-page-1/#comment-45980])
# yum install bleachbit
# yum install wol
# yum install nmap
# yum install plee-the-bear
# yum install amora
# yum install hplip-gui
# yum install hplip-common hplip-libs libsane-hpio
# yum install gnome-scan
# yum install libsane-hpaio skanlite xsane-gimp
# yum install sane
# wget http://rpms.kwizart.net/kwizart-release-12.rpm
# rpm -ivh kwizart-release-12.rpm
# yum –enablerepo=kwizart install hostapd
# gedit /etc/hostapd/hostapd.conf
# yum install gscan2pdf (installe en dépendance gocr)
# yum install tesseract-langpack-fr tesseract
# mkdir /usr/share/tesseract-ocr
# ln -s /usr/share/tesseract/tessdata/ /usr/share/tesseract-ocr/
Et voilà, gscan2pdf pourra utiliser l'OCR en français.
(source : http://frederic.bezies.free.fr/blog/?p=669)
# rpm -Uvh turpial-1.0-b1.fc12.i386.rpm
# yum install kdenlive
# yum install wacomexpresskeys
# yum install publican publican-doc publican-fedora
# ifconfig | grep HWaddr
# yum install zbar
# yum install fswebcam
# yum install v4l2-tool camorama
# yum install wormux
# yum install gwibber
# yum install koji
# koji download-build –arch=noarch gwibber-2.29.92.1-1.fc12
# yum update gwibber-2.29.92.1-1.fc12.noarch.rpm –nogpgcheck
# yum -y install gimp-resynthesizer
http://git.annexia.org/git/techtalk-pse.git
# yum install entangle (pour Fedora 13)
# yum –enablerepo=rawhide install entangle
Paquet entangle.i686 0:0.1.0-2.fc14 marqué pour être mis à jour
# yum install vlmc –enablerepo=kwizart-testing
# gedit /etc/yum.repos.d/playonlinux.repo
# yum install playonlinux
OGMRip : [voir guide compilation|http://www.cyrille-borne.com/index.php?pages/La-page-d-OGMRip]
$ gnome-shell –replace
http://easylifeproject.org/
$ su -c “yum –nogpgcheck localinstall nautilus-flickr-uploader-0.04-1.fc11.noarch.rpm”
# plymouth-set-default-theme solar
# /usr/libexec/plymouth/plymouth-update-initrd
# echo DISPLAYMANAGER=/usr/bin/kdm > /etc/sysconfig/desktop (après avoir installé KDM)
KeyStatus
http://www.programmer-art.org/projects/keystatus
$ su -c ”./key-status” (le terminal peut-être fermé ensuite)
$ gconftool-2 –type boolean –set /desktop/gnome/interface/buttons_have_icons true
$ gconftool-2 –type boolean –set /desktop/gnome/interface/menus_have_icons true
gconftool-2 –type int –set /apps/panel/toplevels/top_panel/padding 0
gconftool-2 –type int –set /apps/panel/toplevels/bottom_panel/padding 0
gconftool-2 –type int –set /apps/panel/applets/systray/prefs/padding 0
$ id
uid=500(silvyn)
$ pkcon install wget
pklalockdown –lockdown org.freedesktop.packagekit.package-install
Un jour, allez voir : http://debarshiray.multiply.com/journal/item/204/Tracker_Nautilus
Fedora 12 and GDM auto-login : http://rvokal.livejournal.com/4916.html
First, backup your /etc/gdm/gdm.scheme file. Now locate the lines daemon/AutomaticLoginEnable and AutomaticLogin. In the first section you need to change false to true and in the second section you need a default user name (your login name) - and that's it, reboot your box and enjoy the autologin.
http://www.avast.com/fre/download-avast-for-linux-edition.html
# yum install nmap
# nmap -O 192.168.0.1-255 | grep “Running: ” > /tmp/os; echo “$(cat /tmp/os | grep Linux | wc -l) Linux”; echo “$(cat /tmp/os | grep Windows | wc -l) Window”; echo “$(cat /tmp/os | grep Apple | wc -l) Apple”
[http://wiki.silvyn.net/f11release.png]
!! Fedora 11
# yum update yum (à la toute première utilisation)
# yum install yum-presto (pour réduire la taille des téléchargements lors d'une mise à jour)
# yum install yum-fastestmirror (sélectionne un miroir plus rapide)
# yum groupinstall “Development Tools” (outils de développements, pour compiler un programme par exemple ; installe notamment en dépendance : kernel-devel et kernel-headers)
!!! Configuration des dépôts :
# rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
# rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
# rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm
# rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm
# rpm -ihv http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
# rpm -ivh http://rpms.kwizart.net/kwizart-release-11.rpm
!!! Une liste de programmes
# yum install beagle beagle-gnome (installe mono)
# yum install dkms (pour VitualBox)
# yum install pyroom
# yum install wine
# yum install wget
# yum install flash-plugin AdobeReader_fra
# yum install inkscape scribus
# yum install gconf-editor
'Adobe AIR' :
http://get.adobe.com/fr/air/
$ chmod +x AdobeAIRInstaller.bin
# yum install xterm rpm-devel (chez moi déjà installé : gtk2-devel gnome-keyring libxml2-devel libxslt nss)
$ ./AdobeAIRInstaller.bin
([source astuce|http://rootblock.wordpress.com/2009/06/24/fedora-11-adobe-air-installation-not-allowed-by-administrator/])
'SLAB (Gnome Main Menu)' 0.9.12-6 pour Fedora 11
http://www.linux.com.sg/projects/47-slab-0-9-12-6-fc11.html
Reconstuire le RPM à partir du src. ([voir la documentation RPM fedora-fr|http://doc.fedora-fr.org/wiki/RPM_:_environnement_de_construction#Reconstruction_.C3.A0_partir_du_SRPM]))
# yum-builddep /home/silvyn/Téléchargement/gnome-main-menu-0.9.12-6.fc11.src.rpm
$ rpmbuild –rebuild gnome-main-menu-0.9.12-6.fc11.src.rpm
'Chromium Test Packages' :
http://spot.livejournal.com/308900.html
# yum install chromium
Exemple de mise à jour avec 'presto' :
Finishing rebuild of rpms, from deltarpms
<delta rebuild> | 88 MB 01:27
Presto reduced the updates to 6.6 M from 88 M which is a 93% savings.
# yum install vlc
# yum install gnome-do
# yum install filezilla nautilus-actions nautilus-image-converter nautilus-open-terminal unrar unace p7zip bluefish glipper thunderbird pcmanfm
# yum install impressive
# yum install emesene xchat
# yum install jokosher gtk-recordmydesktop recordmydesktop
# yum install gstreamer-ffmpeg gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-plugins-bad-extras
déjà installé sur le système :
gstreamer-plugins-good gstreamer-plugins-flumpegdemux gstreamer-tools gstreamer-python gstreamer PackageKit-gstreamer-plugin xvidcore gstreamer-plugins-base totem-gstreamer
# yum install ganyremote
Installation:
ganyremote noarch 5.10-1.fc11 updates 88 k
Installation pour dépendance:
anyremote i586 4.18.1-1.fc11 fedora 51 k
anyremote-data i586 4.18.1-1.fc11 fedora 250 k
pybluez i586 0.15-4.fc11 fedora 92 k
Suite pour utilisation avec un téléphone mobile :
Installation:
gnome-phone-manager i586 0.65-1.fc11 fedora 172 k
Installation pour dépendance:
gnokii i586 0.6.27-4.fc11 fedora 711 k
(Linux/Unix tool suite for various mobile phones)
# yum install wammu
# yum install gnome-applet-music hamster-applet wuja (pour lire un gmail calendar)
'MPD' :
# yum install mpd sonata
# gedit /etc/mpd.conf
# mpd –create-db
# /etc/init.d/mpd start
Un autre Client MPD
# yum install ario
# yum install easytag
# yum install hunspell-fr
# yum install grsync
# yum install postr
# yum install perl-ExtUtils-MakeMaker
# yum install sendmail-cf
# yum install gparted
# yum install cryptsetup
'OpenOffice.org'
# yum install openoffice.org-core openoffice.org-writer openoffice.org-calc openoffice.org-impress openoffice.org-draw openoffice.org-base openoffice.org-langpack-fr openoffice.org-wiki-publisher
openoffice.org-extendedPDF
# yum update –enablerepo=updates-testing openoffice.org-wiki-publisher
# yum install leonidas-backgrounds-lion
# yum install blueman
# yum –enablerepo=kwizart install freego
# yum install revelation
!!! LVM
Montage d'un disque dur USB (ancien disque dur de mon portable)
# fdisk -l
(commande pour lister vos disques)
Vérifier que les 2 LVM n'aient pas le même nom. Dans l'exemple suivant, c'est bien différent (VolGroup et vg_nc6000)
[root@nc6000 ~]# lvm lvscan
inactive '/dev/VolGroup/lv_root' [30,27 GB] inherit
inactive '/dev/VolGroup/lv_swap' [1,00 GB] inherit
ACTIVE '/dev/vg_nc6000/lv_home' [46,84 GB] inherit
ACTIVE '/dev/vg_nc6000/lv_root' [30,00 GB] inherit
ACTIVE '/dev/vg_nc6000/lv_swap' [2,00 GB] inherit
[root@nc6000 ~]#
[root@nc6000 media]# pvscan
PV /dev/sdb5 VG VolGroup lvm2 [31,27 GB / 0 free]
PV /dev/sda6 VG vg_nc6000 lvm2 [78,84 GB / 0 free]
Total: 2 [110,11 GB] / in use: 2 [110,11 GB] / in no VG: 0 [0 ]
[root@nc6000 media]# vgscan
Reading all physical volumes. This may take a while…
Found volume group “VolGroup” using metadata type lvm2
Found volume group “vg_nc6000” using metadata type lvm2
[root@nc6000 media]# vgchange -a y VolGroup
2 logical volume(s) in volume group “VolGroup” now active
[root@nc6000 media]# lvscan
ACTIVE '/dev/VolGroup/lv_root' [30,27 GB] inherit
ACTIVE '/dev/VolGroup/lv_swap' [1,00 GB] inherit
ACTIVE '/dev/vg_nc6000/lv_home' [46,84 GB] inherit
ACTIVE '/dev/vg_nc6000/lv_root' [30,00 GB] inherit
ACTIVE '/dev/vg_nc6000/lv_swap' [2,00 GB] inherit
[root@nc6000 media]#
[root@nc6000 media]# mkdir fc10
[root@nc6000 media]# mount /dev/VolGroup/lv_root /media/fc10/
'Pilote ATI' (pas encore disponible au 18 juillet 2009) :
# yum install kmod-catalyst
'Compiz'
# yum install compiz compiz-fusion ccsm fusion-icon emerald emerald-themes
# ln -s /usr/lib/libssl.so.0.9.8k /lib/libssl.so.0.9.8
# LaCie_Network_Assistant
LaCie_Network_Assistant: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory
# locate libcrypto
/usr/lib/libcrypto.so.0.9.8k
# ln -s /usr/lib/libcrypto.so.0.9.8k /lib/libcrypto.so.0.9.8
# yum install samba
# yum install samba-client
# yum install system-config-samba
# yum install nbtscan
# nbtscan 192.168.0.0/24
# yum install pdftk
$ pdftk *.pdf cat output combined.pdf
$ pdftk plaquette-alr.pdf plaquette-alr2.pdf cat output plaquette-alr-double.pdf
Si même document : pdftk original.pdf original.pdf original.pdf original.pdf output resultat_avec_4_pages.pdf
(non testé avec imagemagick : $convert documento1.pdf documento2.pdf documento-final.pdf)
# yum install pdfjam
$ pdfnup plaquette-alr-double.pdf –nup 2×2 –outfile plaquette-alr-2×1.pdf
(problème, format portrait et paysage). Fonctionne avec un premier document 4 pages.
# yum install gftp
# yum list | grep plymouth
# yum install plymouth-theme-solar
# plymouth-set-default-theme solar
# /usr/libexec/plymouth/plymouth-update-initrd
# yum install pitivi (dépendance goocanvas)
# yum install gwibber
Pour info
yum localinstall –nogpgcheck /home/silvyn/rpmbuild/RPMS/i586/monrpm.fc11.i586.rpm
yum -y install
yum update –skip-broken
!!!Firefox 3.5 extensions
Download Statusbar : https://addons.mozilla.org/fr/firefox/addon/26
Xmarks (anciennement Foxmarks) : https://addons.mozilla.org/fr/firefox/addon/2410
URL Link : https://addons.mozilla.org/en-US/firefox/addon/403
Read it Later : http://www.ideashower.com/ideas/active/read-it-later/
Gmail Manager : https://addons.mozilla.org/en-US/firefox/addon/1320
Mozilla Weave : https://addons.mozilla.org/fr/firefox/addon/10868
iGraal : http://fr.igraal.com/telechargement-gratuit
Cooliris : https://addons.mozilla.org/fr/firefox/addon/5579
Firefox Companion pour eBay : https://addons.mozilla.org/fr/firefox/addon/5202
Thème Camifox : https://addons.mozilla.org/fr/firefox/addon/7527
Organize Status Bar : https://addons.mozilla.org/fr/firefox/addon/1759
Personas : http://www.getpersonas.com/
ChatZilla : https://addons.mozilla.org/addon/16
Organize Status Bar : http://yellow5.us/firefox/osb/
User Agent Switcher : http://chrispederick.com/work/user-agent-switcher/
FoxyProxy : http://foxyproxy.mozdev.org/
Google Redesigned : https://addons.mozilla.org/fr/firefox/addon/8434
FirefoxNotify : https://addons.mozilla.org/en-US/firefox/addon/9622
!! Fedora 8
'Progressivement, je vais faire le ménage sur cette page, par suppression du contenu'
'Multimédia'
'Bureau 3D'
Carte Nvidia : kmod-nvidia-96xx
'Screenlets' (http://screenlets.org) (pas encore dans les dépôts, voir ce RPM : http://www.metal3d.org/index.php/blog/ticket/2008/01/28/Screenlets-0.0.12)
'Fedora-Unity-20071218-8' : Mise à jour des CD's ou DVD d'installation de Fedora 8 (version du 18 décembre 2008)
et suivre la procédure.
'Activer le pavé numérique au démarrage'
!! Personnalisation
!!! L'horloge de Gnome :
$ gconftool-2 –type string –set /apps/panel/applets/clock/prefs/custom_format '<span color=”#E04614”>%a %d %b</span> <b>%H:%M</b>'
puis
$ gconftool-2 –type string –set /apps/panel/applets/clock/prefs/format custom
[source|http://www.tux-planet.fr/blog/?2008/04/20/242-personnaliser-l-horloge-de-gnome]
Note : testé avec succès sous Fedora 11
!!! Calendrier Google Calendar, Evolution et calendrier Gnome :
$ /usr/libexec/evolution-webcal http://www.google.com/calendar/ical/adresse%40gmail.com/private*compte_gmail*/basic.ics
Il n'y a plus de paquet evolution-webcal pour Fedora 11 (F11).
!! NFS
http://forums.fedora-fr.org/viewtopic.php?pid=108024
http://forums.fedora-fr.org/viewtopic.php?pid=230753
http://www.brennan.id.au/19-Network_File_System.html#nfs4
http://www.lowth.com/LinWiz/nfs_help.html
!! Gnome Mplayer et Gecko mediaplayer
http://dekorte.homeip.net/download/
Installez le rpm pour la configuration du dépôt pour l'installation par yum :
# yum install gecko-mediaplayer
# yum install gnome-mplayer
!! Nvidia
exemple :
kmod-nvidia-2.6.25.9-76.fc9.i686-173.14.09-2.lvn9.i686
Dependency Installed:
kmod-nvidia-173.14.09-2.lvn9.i686
livna-config-display-0.0.20-1.lvn9.noarch
xorg-x11-drv-nvidia-173.14.09-1.lvn9.i386
xorg-x11-drv-nvidia-libs-173.14.09-1.lvn9.i386
{{
!! Divers
* Spinning a Fedora Linux Live CD > Whats a “Live CD”? (http://www.informit.com/articles/article.aspx?p=1157197)
* http://fedoranews.org/mediawiki/index.php/Thomas_Guide:_Remote_Desktop
* http://fedoranews.org/contributors/rick_stout/freenx/
https://fedoraproject.org/wiki/Artwork/PromoBanners
!! HP Compaq nc6000
http://h20000.www2.hp.com/bizsupport/TechSupport/SupportTaskIndex.jsp?lang=fr&cc=fr&taskId=125&prodTypeId=321957&prodSeriesId=367367
Quelques pages du nc6000 sous différents gnu/linux :
http://jfenal.free.fr/linux/nc6000.php
http://www.cs.duke.edu/%7Ereynolds/nc6000-linux.html
http://weblab.ing.unimo.it/%7Efrank72/informatica/en/HP-nc6000.html
http://frequal.com:8080/linux/nc6000.html
Option “RenderAccel” “true”
Section “Device”
Identifier “Videocard0”
Driver “radeon”
Option “RenderAccel” “on”
Option “AccelDFS” “on”
Option “DynamicClocks” “on”
EndSection
$ glxinfo | grep “direct rendering”
direct rendering: Yes
!!!Chiffrer sa clé usb sous Fedora
http://blog.pingoured.fr/index.php?post/2009/07/25/Chiffrer-sa-clé-usb-sous-Fedora
[root@nc6000 silvyn]# cryptsetup luksFormat /dev/sdb1
WARNING!
========
This will overwrite data on /dev/sdb1 irrevocably.
Are you sure? (Type uppercase yes):
# chown silvyn:silvyn /media/id-de-la-clé
TOC