Skip to content

Instantly share code, notes, and snippets.

@aduartem
Last active May 21, 2022 19:14
Show Gist options
  • Select an option

  • Save aduartem/c9bfe8b985853bb763eef2c2531c920d to your computer and use it in GitHub Desktop.

Select an option

Save aduartem/c9bfe8b985853bb763eef2c2531c920d to your computer and use it in GitHub Desktop.
Programas Impresindibles en Ubuntu 16.04

Programas Impresindibles en Ubuntu 16.04

Luego de instalar una distribución Debian ejecutar el siguiente comando:

$ sudo apt-get update

Vim

$ sudo apt-get install vim

Curl

$ sudo apt-get install curl

Zsh

$ sudo apt-get install zsh

Para convertir zsh en nuestra shell principal:

$ chsh -s /bin/zsh

Oh my Zsh!

Vía curl

$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Vía wget

$ sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

Terminator

$ sudo apt-get install terminator

Git

$ sudo apt install git

VirtualBox

$ sudo apt-get install virtualbox

Vagrant

$ sudo apt-get install vagrant

Java 8

Agregar repositorio:

$ sudo add-apt-repository ppa:webupd8team/java

Actualizamos e instalamos el jdk de java8

$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer

Editamos el archivo de configuración de variables de entorno para configurar el JAVA_HOME:

$ sudo vim /etc/environment

Al final del archivo agregamos la siguiente línea:

JAVA_HOME="/usr/lib/jvm/java-8-oracle"

Guardamos el archivo y ejecutamos:

$ source /etc/environment

Finalmente ejecutar:

$ echo $JAVA_HOME

Lamp (Apache2, PHP 7, MySQL 5.7)

Apache2

$ sudo apt-get install apache2
$ sudo a2enmod rewrite
$ sudo /etc/init.d/apache2 restart

MySQL 5.7

$ sudo apt-get install mysql-server
$ sudo mysql_secure_installation

PHP 7

$ sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql

Editar el archivo dir.conf

sudo vim /etc/apache2/mods-enabled/dir.conf

La configuración por defecto es la siguiente:

<IfModule mod_dir.c>
    DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
</IfModule>

Mover index.php a la primera posición después de DirectoryIndex

<IfModule mod_dir.c>
    DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
</IfModule>

Reiniciar apache

$ sudo systemctl restart apache2
$ sudo systemctl status apache2

Módulos PHP

$ apt-cache search php- | less
$ sudo apt-get install php-cli php-sqlite3 php-gd

Workbench

$ sudo apt-get install mysql-workbench

NodeJS

$ sudo apt-get install nodejs

Creamos el link simbólico para que la línea de comandos reconozca la instrucción node:

$ sudo ln -s /usr/bin/nodejs /usr/bin/node

npm

npm es el manejador de paquetes por defecto para Node.js, un entorno de ejecución para JavaScript.

Instalando npm:

$ sudo apt-get install npm

Bower

Para instalar Bower es necesario tener previamente instalado nodejs y npm.

$ sudo npm install -g bower

Revisamos la versión que instalamos de bower

$ bower -version

Meld

$ sudo apt-get install meld

VLC

$ sudo apt-get install vlc

Google Chrome

Descargar para Ubuntu 32 bit:

$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb

Instalar:

sudo dpkg -i --force-depends google-chrome-stable_current_i386.deb

Descargar para Ubuntu 64 bit:

$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

Instalar:

$ sudo dpkg -i --force-depends google-chrome-stable_current_amd64.deb

En caso que "dpkg" indique que faltan dependencias, completa la instalación ejecutando el siguiente comando:

$ sudo apt-get install -f 

youtube-dl

Para instalar en Ubuntu 16.04

$ sudo apt-get install youtube-dl

Para instalar en Ubuntu 14.04 o Debian 7.x "Wheezy"

$ curl https://yt-dl.org/latest/youtube-dl -o /usr/local/bin/youtube-dl

ó

$ wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl

Modificamos los permisos:

$ sudo chmod a+rx /usr/local/bin/youtube-dl

Actualizar youtube-dl

$ youtube-dl -U

Para utilizar el programa:

$ youtube-dl {URL_DEL_VIDEO}

Ejemplo:

$ youtube-dl https://youtu.be/pQE5OGGo6KE?list=PLQCgNGUqLK4ms3oHeg-GmcHgf1KyeentC

Corrector Ortográfico LibreOffice

Para hacer funcionar el corrector ortográfico en LibreOffice hay que instalar el siguiente paquete (que a su vez desinstala hunspell-es):

$ sudo apt-get install myspell-es

Ubuntu Missing add-apt-repository command

$ sudo apt-get install software-properties-common python-software-properties

p7zip

$ sudo apt-get install p7zip-full

Unrar

$ sudo apt-get install unrar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment