Install instructions are here: Salt Stack on Ubuntu.
Tag Archives: install
Installing Unity Hub on Linux
So I’m following the instructions over here: Installing the Hub on Linux. I hope they’re not gonna install spyware… :|
Installing Debian ‘sid’
See the installation guide. Basically: install ‘stable’ or ‘testing’ and then update apt sources and `apt update && apt dist-upgrade` your way to victory!
Installing Kubuntu
So basically I want to run KDE Plasma under Ubuntu and this can be called Kubuntu.
This article is a little bit cargo-clutish. I.e. “I did this and it seemed to work.” and “I don’t do this because it didn’t seem to work.”
I have a pretty heavy reliance on Salt Stack for system configuration. My salt config is all built around Ubuntu 18.04 LTS.
When I need to install a Kubuntu desktop, this is how I do it:
- install Ubuntu Server 18.04 LTS from live installer
- apt update && apt dist-upgrade && apt autoremove && reboot
- apt install kubuntu-desktop && reboot
- apt install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11 && reboot
- apt install salt-minion
- vim /etc/salt/minion_id
- vim /etc/salt/minion.d/minion.conf
- master: salt.staticmagic.net
- service salt-minion restart
- salt-call state.highstate
Note that if your Kubuntu install is a VirtualBox guest you need to start it with a normal start if you want the shared clipboard to work. If you start headless or detachable the shared clipboard will not work (in my experience).
If your Kubuntu install is not a VirtualBox guest you can skip the virtualbox-guest-* package installation above.
Installing .NET on Debian 9
After installing Visual Studio Code I followed the instructions from .NET Tutorial – Hello World in 10 minutes, basically:
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/ wget -q https://packages.microsoft.com/config/debian/9/prod.list sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list sudo chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg sudo chown root:root /etc/apt/sources.list.d/microsoft-prod.list
Then:
sudo apt-get update sudo apt-get install dotnet-sdk-2.1
Then for example to create a new console project:
dotnet new console -o myApp cd myApp
I ended up reading MICROSOFT SOFTWARE LICENSE TERMS for the MICROSOFT .NET LIBRARY which included this doozy:
The software may collect information about you and your use of the software, and send that to Microsoft.
Ah, Microsoft. You haven’t changed.
I found some notes about how to disable telemetry:
Telemetry
———
The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous and doesn’t include command-line arguments. The data is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to ‘1’ or ‘true’ using your favorite shell.Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
I have added the opt-out environment variable via jj5-bin.
How to reinstall macOS
Today I learned how to reinstall macOS. I used Option+Command+R and restored from Time Machine…
Installing nodejs and npm on tact
I followed these instructions:
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - sudo apt-get install -y nodejs sudo apt-get install -y build-essential
Installing latest version of Scala on Debian
So this is basically a combination of this and this:
sudo apt-get purge scala sudo apt-get autoremove cd ~/desktop/scala wget http://downloads.lightbend.com/scala/2.11.8/scala-2.11.8.tgz tar xzf scala-2.11.8.tgz sudo mv scala-2.11.8 /usr/share/scala sudo ln -s /usr/share/scala/bin/scala /usr/bin/scala sudo ln -s /usr/share/scala/bin/scalac /usr/bin/scalac sudo ln -s /usr/share/scala/bin/fsc /usr/bin/fsc sudo ln -s /usr/share/scala/bin/sbaz /usr/bin/sbaz sudo ln -s /usr/share/scala/bin/sbaz-setup /usr/bin/sbaz-setup sudo ln -s /usr/share/scala/bin/scaladoc /usr/bin/scaladoc sudo ln -s /usr/share/scala/bin/scalap /usr/bin/scalap
Everything is easy when you know how!
How to downgrade a package in Debian using apt-get and apt-cache
See here. Basically:
dpkg --list apt-cache showpkg packagename apt-get install packagename=version echo "packagename hold" | sudo dpkg --set-selections
Installing VirtualBox on Debian
Found this article: How to install or upgrade VirtualBox on Ubuntu or Debian…