Skip to content

Instantly share code, notes, and snippets.

@JeremyMorgan
Last active March 27, 2023 21:12
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save JeremyMorgan/cb5d6fc5ffd14c9fde5b38646ff67496 to your computer and use it in GitHub Desktop.
Save JeremyMorgan/cb5d6fc5ffd14c9fde5b38646ff67496 to your computer and use it in GitHub Desktop.
Setup for my FreeBSD Workstation
# This may be runnable as a script, but keep in mind -y is not always acknowledged.
# These are the drop dead basics
pkg -y install vim
pkg -y install git
pkg -y install chromium
pkg -y install gimp
pkg -y install sudo
# Install Rust
wget https://static.rust-lang.org/rustup/dist/x86_64-unknown-freebsd/rustup-init
chmod +x rustup-init
./rustup-init
#Install Go
mkdir /usr/local/go
wget https://dl.google.com/go/go1.13.8.freebsd-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.13.8.freebsd-amd64.tar.gz
#VS Code
pkg -y install vscode
#Python and Python Accessories
pkg -y install python
pkg -y install py37-pip
pip -y install --upgrade pip
pkg -y install pycharm-ce
pkg -y install jetbrains-clion
pkg -y install jetbrains-goland
pkg -y install jetbrains-phpstorm
pkg -y install jetbrains-webstorm
pkg -y install node
pkg -y install npm
pkg -y install hexchat
# Because containers and stuff
pkg -y install docker
pkg -y install docker-machine
pkg -y install docker-compose
pkg -y install vagrant
pkg -y install virtualbox-ose
pkg -y install virtualbox-ose-additions
pkg -y install virtualbox-ose-additions-nox11
# VirtualBox Setup
sysrc vboxguest_enable="YES"
sysrc vboxservice_enable="YES"
sysrc vboxdrv_load="YES"
sysrc devfs_system_ruleset="system"
sysrc hald_enable="YES"
cat << EOF >> /etc/devfs.rules
[system=10]
add path 'usb/*' mode 0660 group operator
EOF
cat << EOF >> /etc/devfs.conf
perm cd0 0660
perm xpt0 0660
perm pass0 0660
EOF
/etc/rc.d/devfs restart
cat << EOF >> /boot/loader.conf
atapicam_load="YES"
EOF
/usr/local/etc/rc.d/hald start
pw groupmod wheel -m $USER
pw groupmod operator -m $USER
#databases
pkg install sqlitebrowser
pkg -y install sql-workbench-118
# Video / Audio Stuff
pkg -y install kdenlive
pkg -y install audacity
pkg -y install simplescreenrecorder
# Writing
pkg -y install retext
pkg -y install ghostwriter
pkg -y install focuswriter
pkg -y install calibre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment