Created
April 25, 2022 12:48
-
-
Save h4cc/d646b24b398b9f7b2d88e1fda47aa582 to your computer and use it in GitHub Desktop.
Ubuntu 22.04 Jammy Jellyfish - Basic packages i usually install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Ubuntu 22.04 (Jammy Jellyfish) | |
# | |
# Basic packages i usually install. | |
# | |
# Author: Julius Beckmann <[email protected]> | |
# | |
# Upgraded Script from 18.04: https://gist.github.com/h4cc/c54d3944cb555f32ffdf25a5fa1f2602 | |
# Upgraded Script from 17.04: https://gist.github.com/h4cc/09b7fe843bb737c8039ac62d831f244e | |
# Upgraded Script from 16.04: https://gist.github.com/h4cc/fe48ed9d85bfff3008704919062f5c9b | |
# Upgraded Script from 14.04: https://gist.github.com/h4cc/7be7f940325614dc59fb | |
# | |
.PHONY: all preparations clean libs update upgrade fonts python3 graphics darktable networking google_chrome slack archives media pandoc system harddisk docker virtualbox filesystem nodejs postgres dbeaver tools encfs_manager esl_repo erlang elixir teamviewer idea_intellij | |
all: | |
@echo "Installation of ALL targets" | |
make preparations libs | |
make upgrade | |
make fonts | |
make python3 | |
make graphics darktable | |
make networking google_chrome | |
make slack | |
make archives | |
make media pandoc | |
make system harddisk | |
#make docker | |
make virtualbox | |
make filesystem | |
#make nodejs | |
make postgres dbeaver | |
make tools | |
#make encfs_manager | |
#make esl_repo erlang elixir | |
make teamviewer | |
make idea_intellij | |
preparations: | |
sudo add-apt-repository -y universe | |
make update | |
sudo apt -y install software-properties-common build-essential checkinstall wget curl git libssl-dev apt-transport-https ca-certificates | |
#sudo dpkg --add-architecture i386 | |
clean: | |
sudo apt autoremove | |
libs: | |
sudo apt -y install libavahi-compat-libdnssd-dev | |
update: | |
sudo apt update | |
upgrade: | |
sudo apt -y upgrade | |
fonts: | |
sudo apt install fonts-firacode | |
fc-cache -v | |
python3: | |
sudo -H apt -y install python3-pip | |
sudo -H pip3 install --upgrade pip | |
# DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. | |
# Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. | |
# More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. | |
python2: | |
sudo -H apt -y install python-pip | |
sudo -H pip2 install --upgrade pip | |
graphics: | |
sudo apt -y install gimp gimp-data gimp-plugin-registry gimp-data-extras geeqie graphviz jpegoptim | |
darktable: | |
sudo snap install darktable | |
networking: | |
sudo apt -y install pidgin filezilla vinagre remmina chromium-browser bmon | |
google_chrome: | |
rm -f google-chrome-stable_current_amd64.deb | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo apt -y install libappindicator1 libindicator7 | |
sudo dpkg -i google-chrome-stable_current_amd64.deb | |
rm -f google-chrome-stable_current_amd64.deb | |
slack: | |
sudo snap install slack | |
archives: | |
sudo apt -y install unace unrar zip unzip p7zip-full p7zip-rar sharutils rar uudeview mpack arj cabextract file-roller | |
media: | |
sudo apt -y install xubuntu-restricted-addons ubuntu-restricted-extras | |
sudo apt -y install mplayer mplayer-gui libavcodec-extra libdvdread8 blender totem okular okular-extra-backends libdvdnav4 | |
sudo apt -y install libxvidcore4 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer1.0-alsa gstreamer1.0-libav | |
# DVD Playback | |
sudo apt -y install libdvd-pkg | |
sudo dpkg-reconfigure libdvd-pkg | |
pandoc: | |
sudo apt -y install pandoc pandoc-citeproc texlive texlive-latex-extra texlive-latex-base texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra texlive-lang-german texlive-xetex preview-latex-style dvipng nbibtex | |
system: | |
sudo apt -y install subversion rabbitvcs-nautilus git curl vim network-manager-openvpn gparted gnome-disk-utility usb-creator-gtk traceroute cloc whois mssh inotify-tools openssh-server sqlite3 etckeeper stress ntp | |
# icedtea-8-plugin openjdk-8-jre | |
#--- Raise inotify limit | |
echo "fs.inotify.max_user_watches = 524288" | sudo tee /etc/sysctl.d/60-inotify.conf | |
sudo service procps restart | |
harddisk: | |
sudo apt -y install smartmontools gsmartcontrol smart-notifier | |
docker: | |
exit 1 # TODO | |
make python | |
sudo apt -y install linux-image-extra-virtual | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
sudo sh -c "echo deb https://apt.dockerproject.org/repo ubuntu-jammy main > /etc/apt/sources.list.d/docker.list" | |
make update | |
sudo apt -y install docker-engine | |
# Installing docker compose additionally. | |
sudo pip install docker-compose | |
virtualbox: | |
sudo apt -y install virtualbox virtualbox-dkms virtualbox-ext-pack virtualbox-guest-additions-iso | |
filesystem: | |
sudo apt -y install disktype exfat-fuse exfatprogs e2fsprogs mtools dosfstools hfsutils hfsprogs jfsutils util-linux lvm2 nilfs-tools ntfs-3g reiser4progs reiserfsprogs xfsprogs attr quota f2fs-tools sshfs go-mtpfs jmtpfs | |
nodejs: | |
# From https://tecadmin.net/how-to-install-node-js-on-ubuntu-22-04/ | |
sudo apt -y install curl | |
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash - | |
make update | |
sudo apt -y install nodejs | |
## Your distribution, identified as "jammy", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support | |
postgres: | |
sudo apt -y install postgresql postgresql-contrib | |
#sudo -i -u postgres psql | |
#> \password postgres | |
#> postgres | |
#> postgres | |
#> \q | |
dbeaver: | |
sudo snap install dbeaver-ce | |
tools: | |
sudo apt -y install htop meld guake password-gorilla keepassx retext terminator vim geany ghex myrepos baobab | |
# Fix for nautilus not starting my preferred terminal on right click. | |
#sudo apt-get -y remove gnome-terminal | |
#sudo ln -fs /usr/bin/terminator /usr/bin/gnome-terminal | |
encfs_manager: | |
# Not yet released | |
exit 1 | |
sudo add-apt-repository -y ppa:gencfsm/ppa | |
make update | |
sudo apt -y install gnome-encfs-manager | |
esl_repo: | |
rm -f erlang-solutions_2.0_all.deb | |
wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb | |
sudo dpkg -i erlang-solutions_2.0_all.deb | |
rm -f erlang-solutions_2.0_all.deb | |
make update | |
erlang: | |
#make esl_repo | |
sudo apt -y install erlang | |
elixir: | |
#make esl_repo | |
sudo apt -y install elixir | |
teamviewer: | |
sudo apt -y install qml-module-qtquick-dialogs qml-module-qtquick-privatewidgets | |
rm -f teamviewer_amd64.deb | |
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb | |
sudo dpkg -i teamviewer_amd64.deb | |
rm -f teamviewer_amd64.deb | |
idea_intellij: | |
sudo apt-add-repository -y ppa:mmk2410/intellij-idea | |
make update | |
sudo apt -y install intellij-idea-community | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment