about
Exemple de retour
=================== General information =================== boot environment now (N) … 12.0-CURRENT-up-20170911_171239 NR 2017-09-11 after restart (R) … 12.0-CURRENT-up-20170911_171239 NR 2017-09-11 boot loader …………………………………… BSD type ……………………… BIOS CPU ………………………………………………………… Intel(R) Pentium(R) CPU G630 @ 2.70GHz number of cores ……………… 2 host ……………………………………………………… trueos-h33 memory ………………………………………………… 4096 MB available, 2428 MB free OS git branch ……………………………………………………………………………………… trueos-stable OS git revision ………………………………………………………………………………… ac2f0aa3b OS kernel build time ………………………………………………………… Wed 2017 Jun 21 01:09:23 UTC OS kernel identity …………………………………………… (uname -i) GENERIC OS platform (architecture) ……………………… (uname -m) amd64 OS release level ………………………………………………… (uname -r) 12.0-CURRENT OS version and patch level …… (freebsd-version) 12.0-CURRENT TrueOS package set ………………… STABLE TrueOS version …………………………… TrueOS-Desktop-201706210948 uptime ………………………………………………… 1:20 user …………………………………………………… avir More (TrueOS Desktop): desktop environment …… Lumina sound card driver ………… pcm0: <Realtek ALC662 (Analog 2.0+HP/2.0)> (play/rec) default wireless driver ……………… X11 drivers ………………………… intel_drv.so
update manager permet de mettre à jour simplement le système
Lancer Local system dans la barre des tâches à droite, choisir Update Manager
Ou clic droit sur le bureau et choisir applications → panneau de configuration → Update Manager
sudo pc-updatemanager pkgupdate
ou directement en root
pc-updatemanager pkgupdate
Si le cache du système est vide ou bugge cette commande télécharge la totalité de L’ISO pour la mise à jour complète du système
La commande qui suit télécharge uniquement les logiciels à mettre à jour. Voir ici https://discourse.trueos.org/t/just-installed-the-stable-release-its-time-to-update/1712/16
sudo pkg-static update
sudo pkg autoremove
Dans cet exemple de retour, il n'y a rien à nettoyer
Mot de passe : Checking integrity... done (0 conflicting) Nothing to do.
AppCafe permet d’installer ou de désinstaller des logiciels facilement.
Le lancer de la même manière que Update Manager :
Lancer Local system dans la barre des tâches à droite, choisir AppCafe
Ou clic droit sur le bureau et choisir applications → panneau de configuration → AppCafe
pkg install ‘nom du logiciel’ installe le logiciel désiré
Exemple
sudo pkg install aacgain
Le retour
Mot de passe : Updating trueos-base repository catalogue... trueos-base repository is up to date. Updating trueos-major repository catalogue... trueos-major repository is up to date. All repositories are up to date. The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: aacgain: 1.8_1 [trueos-major] Number of packages to be installed: 1 299 KiB to be downloaded. Proceed with this action? [y/N]:
pkg delete ‘nom du logiciel’ supprime un logiciel installé.
Exemple
sudo pkg delete trojita
Le retour
Mot de passe : Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: trojita-0.7_1 Number of packages to be removed: 1 The operation will free 6 MiB. Proceed with deinstalling packages? [y/N]:
pkg help
Global options supported: -d Increment debug level -j Execute pkg(8) inside a jail(8) -r Execute pkg(8) using relocating installation to <rootdir> -c Execute pkg(8) inside a chroot(8) -C Use the specified configuration file -R Directory to search for individual repository configurations -l List available commands and exit -v Display pkg(8) version -N Test if pkg(8) is activated and avoid auto-activation -o Override configuration option from the command line -4 Only use IPv4 -6 Only use IPv6 Commands supported: add Compatibility interface to install a package alias List the command line aliases annotate Add, modify or delete tag-value style annotations on packages audit Reports vulnerable packages autoremove Removes orphan packages backup Backs-up and restores the local package database check Checks for missing dependencies and database consistency clean Cleans old packages from the cache config Display the value of the configuration options convert Convert database from/to pkgng create Creates software package distributions delete Deletes packages from the database and the system fetch Fetches packages from a remote repository help Displays help information info Displays information about installed packages install Installs packages from remote package repositories and local archives lock Locks package against modifications or deletion plugins Manages plugins and displays information about plugins query Queries information about installed packages register Registers a package into the local database remove Deletes packages from the database and the system repo Creates a package repository catalogue rquery Queries information in repository catalogues search Performs a search of package repository catalogues set Modifies information about packages in the local database ssh Package server (to be used via ssh) shell Opens a debug shell shlib Displays which packages link against a specific shared library stats Displays package database statistics unlock Unlocks a package, allowing modification or deletion update Updates package repository catalogues updating Displays UPDATING information for a package upgrade Performs upgrades of packaged software distributions version Displays the versions of installed packages which Displays which package installed a specific file For more information on the different commands see 'pkg help <command>'.
Par exemple pour obtenir des informations sur l'option search
pkg help search
PKG-SEARCH(8) FreeBSD System Manager's Manual PKG-SEARCH(8) NAME pkg search – search package repository catalogues SYNOPSIS pkg search [-U] [-r reponame] [-S search] [-L label] [-Q query-modifier] [-Cegix] pattern pkg search [-cDdfopqRsU] [-r reponame] [-Cegix] pattern pkg search [--no-repo-update] [--repository reponame] [--search search] [--label label] [--query-modifier query-modifier] [--{case-sensitive,exact,glob,case-insensitive,regex}] pattern pkg search [--{comment,description,depends-on,full,origins,prefix}] [--{quiet,raw,size,no-repo-update}] [--repository reponame] [--{case-sensitive,exact,glob,case-insensitive,regex}] [--raw-format format] pattern DESCRIPTION pkg search is used for searching package repository catalogues. Packages available for installation can be matched by name, by name and version, by origin, or by text in the package comments or package descriptions. The output defaults to displaying the field matched by the search term, but any of the searchable fields may be displayed. The output may be modified to additionally show many other package data available from the repository catalogues.
A suivre très certainement ….
Merci à Coconuts
dmesg | Découvrez quel matériel a été détecté par le noyau |
sysctl dev | Afficher les périphériques configurés |
pciconf -l -cv | Afficher les périphériques PCI (en root uniquement) |
dmesg | grep usb | Afficher les périphériques USB |
kldstat | liste tous les modules chargés dans le noyau |
kldload <module> | Charger un module kernel pour la session en cours |
sysctl hw.realmem | Afficher la mémoire matérielle |
sysctl hw.model | Afficher le modèle CPU |
sysctl hw.machine_arch | Afficher l'architecture CPU |
sysctl hw.ncpu | Afficher le nombre de CPU |
uname -vm | Obtenir des informations de version |
gpart show | Afficher les informations de partition de périphérique |