2020年1月31日 星期五

boot-repair grub 修復工具

安裝 boot-repair

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

 
 

2020年1月5日 星期日

在 Ubuntu 環境中玩 Windows --- Wine 的安裝

1. 先為 64 位元電腦啟動 32 位元架構:
  • $ sudo dpkg --add-architecture i386
2. 添加 Wine 源碼庫:
  • $ wget -nc https://dl.winehq.org/wine-builds/winehq.key
  • $ sudo apt-key add winehq.key
  • Ubuntu 18.04 或 Linux Mint 19.x
    $ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
    Ubunu 19.04
    $ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disco main'
  • $ sudo apt-get update
3.安裝穩定版或開發版
  • 穩定版
    $ sudo apt-get install --install-recommends winehq-stable
  • 開發版
    $ sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport
    $ sudo apt-get install --install-recommends winehq-devel