feat(install): Update install script to manually install Rust

- README updated
This commit is contained in:
Pratik Tripathy
2024-09-16 21:44:31 +05:30
parent 82d2bbed0a
commit 8d929783a2
6 changed files with 32 additions and 22 deletions

View File

@@ -34,6 +34,22 @@ Any package not available are *skipped*.
`install.sh` calls `install-os-packages.sh` and `install-brew-packages.sh`. Both can be executed separately.
### Manual installation to be done for various distros
- aka, pending installations that I gave up automating.
- All Distros:
- Appimagelauncher: https://github.com/TheAssassin/AppImageLauncher/releases
- Zoho Mail: https://downloads.zohocdn.com/zmail-desktop/linux/
- Zoho Workdrive: https://www.zoho.com/workdrive/desktop-sync.html
- Jetbrains-Toolbox: https://www.jetbrains.com/toolbox-app/
- Sublime-Text: https://www.sublimetext.com/docs/linux_repositories.html
- Debian & Ubuntu:
- Add non-free and backport sources, then run the `install-os-packges.sh` again
- Ulauncher: https://ulauncher.io/#Download
- Debian:
- Dotnet8: https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install
## Test
1. Need to be inside this directory
@@ -42,7 +58,7 @@ Any package not available are *skipped*.
cd scripts/test
```
2. Change `Dockerfile` as required
2. Use `Dockerfile` to change OS
3. Run the script

View File

@@ -35,9 +35,6 @@ dnf_setup() {
}
apt_setup() {
# TODO: Enable non-free software in /etc/apt/sources.list
# Add "back-ports" in /etc/apt/sources.list
# Check how it affects Ubuntu
sudo apt-get update && sudo apt-get upgrade -y
}

View File

@@ -1,19 +1,5 @@
#!/usr/bin/env sh
# All:
# - Jetbrains-Toolbox: https://www.jetbrains.com/toolbox-app/
# - Sublime-Text: https://www.sublimetext.com/docs/linux_repositories.html
# - Appimagelauncher: https://github.com/TheAssassin/AppImageLauncher/releases
# - Zoho Mail: https://downloads.zohocdn.com/zmail-desktop/linux/zoho-mail-desktop-lite-x64-v1.6.4.AppImage
# - Zoho Workdrive: https://files-accl.zohopublic.com/public/wdbin/download/2014030a29db316e9cedd501f32270e8
# - Cursor: https://downloader.cursor.sh/linux/appImage/x64
# Debian & Ubuntu:
# - Ulauncher: https://ulauncher.io/#Download
# Debian:
# - Dotnet8: https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install
# Jetbrains: check if scriptfile not available (because we use flatpak) has any issued with ulauncher
kitty_term() {
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin
@@ -25,8 +11,13 @@ kitty_term() {
echo 'kitty.desktop' > ~/.config/xdg-terminals.list
}
rustlang() {
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
}
manual_installs() {
kitty_term
rustlang
}
post_install() {
@@ -40,11 +31,15 @@ post_install() {
ln -s /home/linuxbrew/.linuxbrew/share/fonts -t ~/.local/share && fc-cache -fv
fi
# TODO: Ensure KDE, Jetbrains, Zed, Sublime-text, VS-Code, flatpak have: the same theme installed
rm -rf ~/.cache
}
pre_install() {
export INSTALL_LOG_FILE="$(basename "$0")_$(date +"%Y%m%d_%H%M%S")_log.txt"
echo
echo "Starting Installation..."
echo "Use the following command to view the list of software that was NOT installed:"
echo "cat $PWD/$INSTALL_LOG_FILE"
echo

View File

@@ -7,8 +7,11 @@ org.libreoffice.libreoffice
com.mattermost.Desktop
md.obsidian.Obsidian
com.getpostman.Postman
com.jetbrains.Rider
#com.jetbrains.Rider
#com.slack.Slack
com.github.tchx84.Flatseal
org.kde.KStyle.Kvantum/x86_64/6.6
org.kde.okular
com.skype.Client
dev.zed.zed
io.github.zen_browser.zen

View File

@@ -39,7 +39,6 @@ llvm
make
nala
net-tools
okular
openssh-client
python3
python3-pip

View File

@@ -4,7 +4,7 @@ INSTALL="n"
DRY_RUN="n"
show_help() {
echo "Apply all settings stored in the script's directory to your home directory"
echo "Create soft-links from this to corresponding XDG directories. Optionally, install all the necessary programs for coding on a new Linux setup."
echo
echo "usage: $0 [option]"
echo "options:"