〇HandBrakeの画面(Raspberry Pi OS Bullseye)
インストール方法
以下のコマンドを実行します。sudo apt-get update
sudo apt-get install handbrake
関連情報
・HandBrakeのウェブサイトhttps://handbrake.fr/
sudo apt-get update
sudo apt-get install handbrake
wget https://github.com/Kong/insomnia/releases/download/core%402022.6.0/Insomnia.Core-2022.6.0.deb
sudo apt-get -y install ./Insomnia.Core-2022.6.0.deb
wget --inet4-only https://sourceforge.net/projects/jailer/files/v12.8.1/jailer-database-tools_12.8.1-x64.deb
sudo apt-get -y install ./jailer-database-tools_12.8.1-x64.deb
sudo apt-get update
sudo apt-get install josm
sudo dnf -y install flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak -y install flathub org.gnome.Weather
flatpak run org.gnome.Weather
sudo apt-get update
sudo apt-get -y install octave
sudo apt-get update
sudo apt-get -y install mandelbulber2
sudo apt-ge update
sudo apt-get -y install kolourpaint4
wget https://github.com/jupyterlab/jupyterlab-desktop/releases/download/v3.5.0-1/JupyterLab-Setup-Fedora.rpm
sudo dnf -y install ./JupyterLab-Setup-Fedora.rpm
sudo apt-get update
sudo apt-get -y install feathernotes
sudo apt-get update
sudo apt-get -y install umbrello
sudo apt-get update
sudo apt-get -y install quickcal
sudo apt-get update
sudo apt-get -y install filelight
sudo apt-get update
sudo apt-get -y install speedcrunch
sudo apt-get update
sudo apt-get -y install mariadb-server
sudo mysql -uroot -e "SET PASSWORD = PASSWORD('root'); FLUSH PRIVILEGES;"
※パスワードは適宜変更してくださいsudo apt-get -y install curl
wget https://repo.percona.com/apt/percona-release_latest.generic_all.deb
sudo dpkg -i percona-release_latest.generic_all.deb
sudo apt-get update
sudo apt-get -y install percona-toolkit
sudo pt-mysql-summary --host localhost --user root --password root
sudo pt-find --host localhost --user root --password root データベース名
sudo dnf install -y java-17-openjdk-devel
sudo mkdir -p /opt/robocode
cd /opt/robocode
sudo wget --inet4-only 'https://sourceforge.net/projects/robocode/files/robocode/1.9.4.7/robocode-1.9.4.7-setup.jar'
sudo jar xvf robocode-1.9.4.7-setup.jar
sudo chmod +x /opt/robocode/robocode.sh
cat << EOF | sudo tee /usr/share/applications/robocode.desktop
[Desktop Entry]
Type=Application
Version=1.0
Name=Robocode
GenericName=Tank AI programming game for Java and .NET
Comment=Build the best - destroy the rest!
Icon=/opt/robocode/desktop/robocode.png
Exec=/opt/robocode/robocode.sh
Categories=Game;StrategyGame;
EOF
sudo dnf -y install epel-release
sudo dnf -y install snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install remmina
※「error: too early for operation, device not yet seeded or device model not acknowledged」というエラーが出た場合は、しばらく待って再実行します。sudo dnf -y install flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak -y install flathub com.github.matfantinel.reminduck
※ダウンロード中にエラーが発生した場合は、コマンドを再実行してください。sudo apt-get -y install flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak -y install flathub com.github.alecaddd.sequeler
sudo dnf -y install redis
sudo systemctl enable redis
sudo systemctl start redis
redis-cli << EOF
ping
flushall
set mykey "hello world."
get mykey
EOF
curl -sL https://rpm.nodesource.com/setup_14.x | sudo bash -
sudo dnf -y install nodejs
sudo npm install --no-optional -g redis-commander
cat << EOF | sudo tee /etc/systemd/system/rediscommander.service
[Unit]
Description=redis-commander
[Service]
Type=simple
ExecStart=/usr/bin/redis-commander
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl enable rediscommander.service
sudo systemctl start rediscommander.service
sudo firewall-cmd --add-port=8081/tcp --permanent
sudo firewall-cmd --reload
sudo apt-get -y install flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak -y install https://flathub.org/repo/appstream/de.haeckerfelix.Shortwave.flatpakref
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
※以下の様な選択肢が表示されたら1を入力しますsource $HOME/.cargo/env
sudo dnf -y groupinstall "Development Tools"
sudo dnf -y install glib2-devel cairo-devel cairo-gobject-devel pango-devel gdk-pixbuf2-devel graphene-devel gtk4-devel
cargo install process_viewer
cat << EOF > ~/.local/share/applications/process_viewer.desktop
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=bash -c "~/.cargo/bin/process_viewer"
Name=process viewer
Categories=System;
EOF
sudo mkdir -p /opt/goawk
cd /opt/goawk
sudo wget https://github.com/benhoyt/goawk/releases/download/v1.20.0/goawk_v1.20.0_linux_amd64.tar.gz
sudo tar xvfz goawk_v1.20.0_linux_amd64.tar.gz
sudo ln -s /opt/goawk/goawk /usr/local/bin/goawk
cat << EOF | goawk '{ print $1, $3 }'
col1 col2 col3
Hello - World!
1 2 3
EOF
cd
cat << EOF > test.csv
name,userid
"Brian, Greenwood", 1234
"Tom White", 5678
EOF
# 通常だと、ダブルクオートなどしても,や空白などで文字列が分割されてしまう
goawk '{ print $1 }' test.csv
name,userid
"Brian,
"Tom
# CSV入力モードを使用すると、ちゃんとダブルクオートを認識してハンドリングしてくれる
goawk -i csv '{ print $1 }' test.csv
name
Brian, Greenwood
Tom White
sudo apt-get update
sudo apt-get -y install goodvibes
sudo apt-get update
sudo apt-get -y install python3-pip python3-distutils python3-dev
python3 -m pip install --user pipenv
echo "export PIPENV_VENV_IN_PROJECT=true" >> ~/.profile
echo 'export PATH=$PATH:$HOME/.local/bin' >> ~/.profile
source ~/.profile
sudo apt-get -y install ffmpeg
mkdir -p ~/ffmpeg-python
cd ~/ffmpeg-python
pipenv --python 3
pipenv install ffmpeg-python
pipenv shell
import ffmpeg
input = ffmpeg.input('./riceplant.mp4')
ffmpeg.output(input, './riceplant.webm').run()
python conv_mp4_to_webm.py
sudo dnf -y install epel-release
sudo dnf -y install snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
2. freacのインストールsudo snap install freac
※もし「error: too early for operation, device not yet seeded or device model not acknowledged」というメッセージが表示された場合は、しばらく待ってから再実行してください。
sudo apt-get -y install redis
sudo systemctl start redis
動作確認は以下のコマンドを実行します。redis-cli << EOF
ping
flushall
set mykey "hello world."
get mykey
EOF
sudo apt-get -y install libfuse2
sudo mkdir -p /opt/redis-ui
cd /opt/redis-ui
sudo wget https://github.com/patrikx3/redis-ui/releases/download/v2022.10.105/P3X-Redis-UI-2022.10.105.AppImage
sudo chmod +x P3X-Redis-UI-2022.10.105.AppImage
cat << EOF | sudo tee /usr/share/applications/redis-ui.desktop
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=/opt/redis-ui/P3X-Redis-UI-2022.10.105.AppImage
Name=P3X Redis UI
Categories=Development;
EOF
sudo apt-get update
sudo apt-get -y install git build-essential
git clone https://github.com/kdlucas/byte-unixbench
cd byte-unixbench/UnixBench
make
./Run