Setting up ubuntu
Setting up Ubuntu
This posts is mainly for the purpose of documenting the setup of a clean Ubuntu. I am using a clean Ubuntu Version 24.04.2. Please update your system first.
1
sudo apt update && sudo apt upgrade
Software
Qt
To install all qt specific modules run the following command with apt
1
sudo apt install qtbase5-dev qt5-qmake libqt5svg5-dev libqt5sql5 libqt5sql5-psql qtdeclarative5-dev qtlocation5-dev qtpositioning5-dev qml-module-qtlocation qml-module-qtpositioning
Since we use some QML Features in our software, we also have to install the qml and location modules.
Build tools for c++
To install all needed build-tools for compiling applications with gcc and c++, install the following packages:
1
sudo apt install build-essential g++ cmake
Install z-lib for QuaZIP
In order to install the z-lib
use the following command:
1
sudo apt install zlib1g-dev
OpenGL Driver
If also needing the openGL drivers (needed for the VICUS native rendering engine) install the mesa driver:
1
sudo apt install libegl1-mesa-dev
SSH
To connect to other machines via SSH and mount remote filesystems, install the following packages:
1
sudo apt install openssh-client sshfs
openssh-client: Provides the SSH client tools (ssh, scp, sftp) for connecting to remote systems. sshfs: Allows you to mount remote filesystems over SSH using FUSE.
If you also want to allow incoming SSH connections to your machine (e.g., for remote access), install the SSH server as well:
1
sudo apt install openssh-server
Dymola
Dymola can be downloaded here.
Setting up the license for TU Dresden:
Server: licenses.zih.tu-dresden.de FlexLM-Port: 1277 Vendor-Daemon-Port: 27577
Flatpak
Install at first flatpak via
1
sudo apt install flatpak
Then you can optionally install the gnome support
1
sudo apt install gnome-software-plugin-flatpak
Finally, add the Flathub repository
1
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
Here are some useful packages I am using so far:
1
2
3
4
5
6
7
8
9
10
11
flatpak install flathub im.riot.Riot
flatpak install flathub com.visualstudio.code
flatpak install flathub com.syntevo.SmartGit
flatpak install flathub com.mattjakeman.ExtensionManager
flatpak install flathub org.gnome.World.PikaBackup
flatpak install flathub com.nextcloud.desktopclient.nextcloud
flatpak install flathub io.qt.QtCreator
flatpak install flathub org.keepassxc.KeePassXC
flatpak install flathub org.mozilla.firefox
flatpak install flathub com.brave.Browser
flatpak install flathub org.kde.okular