0% found this document useful (0 votes)
27 views4 pages

Linux Final

The document provides a comprehensive guide for updating and configuring a Linux system using APT commands. It includes steps for adding architectures, installing essential software, configuring user privileges, managing codecs, and setting up various system utilities. Additionally, it covers installing fonts, managing printers, enabling firewalls, and installing antivirus software, along with a final cleanup process.

Uploaded by

david dc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views4 pages

Linux Final

The document provides a comprehensive guide for updating and configuring a Linux system using APT commands. It includes steps for adding architectures, installing essential software, configuring user privileges, managing codecs, and setting up various system utilities. Additionally, it covers installing fonts, managing printers, enabling firewalls, and installing antivirus software, along with a final cleanup process.

Uploaded by

david dc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

---Actualizar

sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade && sudo
apt-get autoremove

sudo apt update; sudo update-apt-xapian-index; sudo aptitude safe-upgrade; sudo apt
install -f; sudo dpkg --configure -a; sudo apt --fix-broken install

sudo update-grub; sudo update-grub2; sudo aptitude clean; sudo aptitude autoclean;
sudo apt-get autoremove; sudo apt autoremove; sudo apt purge; sudo apt remove

--Añadir arquitecturas

sudo dpkg --add-architecture i386 && sudo apt-get update

sudo dpkg --add-architecture amd64 && sudo apt-get update

apt update; apt full-upgrade; apt install -f; dpkg --configure -a; apt-get
autoremove; apt --fix-broken install

--Actualizar sistema

sudo apt install synaptic apt-xapian-index apt-transport-https


sudo update-apt-xapian-index localepurge

sudo synaptic
-->Configuracion-->Preferencias--> Activar--> Considerar los paquetes recomendados
como si fuesen dependencias

sudo apt update && sudo apt upgrade -y && sudo apt full-upgrade -y && sudo apt
clean && sudo apt autoremove -y

---Software del sistema

sudo apt install linux-headers-$(uname -r) build-essential make automake cmake


autoconf git wget gdebi aptitude curl

---Configurar sudo

sudo apt install sudo


sudo nano /etc/sudoers
tu_usuariao” ALL=(ALL:ALL) ALL

# User privilege specification


root ALL=(ALL:ALL) ALL
roberto ALL=(ALL:ALL) ALL

---Codecs

sudo apt-add-repository non-free


sudo apt-add-repository contrib
sudo apt update

####sudo nano /etc/apt/sources.list


####deb https://www.deb-multimedia.org buster main non-free
####sudo dpkg -i deb-multimedia-keyring_2024.9.1_all.deb
####sudo dpkg -i w64codecs*

sudo apt update && sudo apt full-upgrade -y

sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev


libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good
gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-
tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3
gstreamer1.0-qt5 gstreamer1.0-qt6 gstreamer1.0-pipewire gstreamer1.0-pulseaudio
gstreamer1.0-vaapi gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-bad-apps
gstreamer1.0-libcamera gstreamer-qapt ffmpeg sox twolame vorbis-tools lame faad
mencoder flac libdvd-pkg libdvdcss2 libavcodec-extra libdvdread4

sudo dpkg-reconfigure libdvd-pkg

echo "deb http://www.deb-multimedia.org buster main non-free" | sudo tee


/etc/apt/sources.list.d/deb-multimedia.list
sudo apt update --allow-insecure-repositories
sudo apt install deb-multimedia-keyring
sudo apt update

sudo apt install w64codecs


sudo apt install w32codecs

---Instalar archivos comprimidos

sudo apt install rar unrar unace p7zip-full p7zip-rar lzip arj sharutils mpack lzma
lzop unzip zip bzip2 lhasa cabextract lrzip rzip zpaq kgb xz-utils gzip liblhasa0
p7zip unrar-free tar unzip xz-utils zip

---Instalamos las fuentes

sudo apt install ttf-mscorefonts-installer fonts-freefont-ttf fonts-freefont-otf


fonts-arabeyes fonts-cantarell fonts-freefarsi fonts-liberation fonts-lyx fonts-
mathjax fonts-oflb-asana-math fonts-opensymbol fonts-sil-gentium fonts-stix
myspell-es ooo-thumbnailer xfonts-intl-arabic xfonts-intl-asian xfonts-intl-chinese
xfonts-intl-chinese-big xfonts-intl-european xfonts-intl-japanese xfonts-intl-
japanese-big ttf-aenigma ttf-ancient-fonts ttf-anonymous-pro ttf-bitstream-vera
ttf-summersby ttf-ubuntu-font-family
sudo fc-cache -fv

---Gparted / Formatos de archivo

sudo apt-get install exfat-fuse hfsplus hfsutils ntfs-3g gpart

---Compatibilidad con Android y Iphone/Ipod

sudo apt-get install mtp-tools ipheth-utils ideviceinstaller ifuse

---Impresoras

sudo apt-get install printer-driver-all system-config-printer cups cups-filters


cups-pdf cups-client simple-scan

---Gestionar Usuarios y Grupos


sudo apt-get install gnome-system-tools

---Activar el gestor de cortafuegos UFW

sudo apt install ufw gufw


sudo ufw status
sudo ufw enable

---ClamAV. Antivirus

----sudo apt install clamav clamav-daemon clamtk

---TLP
sudo apt install tlp tlp-rdw

sudo tlp start

sudo systemctl enable tlp

---- editar
sudo xed /etc/default/tlp
----quitar # en
#CPU_SCALING_GOVERNOR_ON_AC=ondemand
#CPU_SCALING_GOVERNOR_ON_BAT=ondemand
-----y cambiar ondemand por powersave

---Indispensables

sudo apt-get install stacer shutter audacity filezilla locate amd64-microcode


intel-microcode firmware-linux-free bleachbit hardinfo openssh-server openssh-
client gparted gpart macchanger winff handbrake handbrake-cli asunder testdisk
magicrescue thunar gscan2pdf djvulibre-bin gocr hunspell-es firefox-esr-l10n-es-es
firefox-l10n-xpi-es-es libreoffice-l10n-es clonezilla keepassx gnome-disk-utility
gpart* neofetch lolcat toilet figlet tasksel tasksel-data

zoom non-free-firmware telegram-desktop signal-desktop audacious unpaper

sudo apt remove --purge libreoffice*

sudo apt clean

sudo apt autoremove

---Finalizar

sudo apt --fix-broken install

$ sudo apt -f install

sudo apt clean

sudo apt autoremove

sudo apt --configure -a


sudo reboot

You might also like