XCLUB-COOL STUFF AROUND YOU

 找回密码
 Register
查看: 10|回复: 0

How to install Aseprite on Linux

[复制链接]

1689

Threads

1689

Posts

3378

Xpoints

XClub Fans

Xclub KolX'Club badge exclusive for Pakistanpost star1post star2post star3post star4

发表于 5 day(s) ago 来自手机 | 显示全部楼层 |阅读模式
[p]      

[p]Aseprite is a pixel-art program that users can use to create 2D animations for video games. It is paid software, and users can purchase the product via the official website. However, the source code is also available for free. Here’s how to install Aseprite on Linux.

[p]Steam

[p]If you’re OK with paying 19$, Aseprite is available on Steam. According to the official Steam page, it works on Linux. To get it working on your system, ensure you have Steam installed. Then, search for “Aseprite” in the Steam store, purchase it and install it via your Steam library.

[p]Ubuntu installation instructions

[p]Unfortunately, Aseprite is not in the official software repos for Ubuntu. If you’d like to install this software on your Ubuntu system, you will have to compile it from the source code available on GitHub.

[p]First, open up a terminal window. Building this program from the source code required the command line. To open up a terminal window, press Ctrl + Alt + T on the keyboard. Or, search for “Terminal” in the app menu.

[p]With the terminal window open and ready to use, install the Aseprite dependencies. These are programs and libraries that Aseprite needs to compile, and the program will not build without them.

[p]sudo apt install -y g++ cmake ninja-build libx11-dev libxcursor-dev libgl1-mesa-dev libfontconfig1-dev git

[p]Use the git clone command below to download the latest source code with the dependencies taken care of.

[p]git clone --recursive https://github.com/aseprite/aseprite.git

[p]After downloading the code to your computer, you will also need to download Skia, which is a crucial component of Aseprite. Use the commands below to get Skia working.

[p]mkdir ~/dependencies/ cd ~/dependencies/ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git git clone -b aseprite-m71 https://github.com/aseprite/skia.git export PATH="${PWD}/depot_tools:${PATH}" cd skia

[p]python tools/git-sync-deps gn gen out/Release --args="is_debug=false is_official_build=true skia_use_system_expat=false skia_use_system_icu=false skia_use_system_libjpeg_turbo=false skia_use_system_libpng=false skia_use_system_libwebp=false skia_use_system_zlib=false" ninja -C out/Release skia

[p]With Skia and all other dependencies are taken care of on Ubuntu, you can build and install Aseprite.

[p](adsbygoogle = window.adsbygoogle || []).push({});

[p]cd ~/aseprite mkdir -p build cd build cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DLAF_OS_BACKEND=skia \ -DSKIA_DIR=$HOME/deps/skia \ -DSKIA_OUT_DIR=$HOME/deps/skia/out/Release \ -G Ninja \ ..

[p]If you’re having issues compiling Aseprite on Ubuntu with the instructions provided, the developers offer a DEB package to all users for buying the app. More information here.

[p]Debian installation instructions

[p]Debian 9 Buster (aka Old Stable) has a relatively recent release of Aseprite in the “Main” software repository. So, if you’re using Old Stable, you’ll be able to get it working quite quickly without too much trouble.

[p]Open up a terminal window by pressing Ctrl + Alt  + T on the keyboard. Or, search for “Terminal” in the app menu and launch it that way. Once the terminal window is open, use the apt-get install command.

[p]sudo apt-get install aseprite

[p]Alternatively, if you use Debian 10, 11, or Sid, you must compile the code from its source. As Debian Linux is nearly identical to Ubuntu (minus a few changes here and there), the Ubuntu compilation instructions should work.

[p]If you’re having issues compiling Aseprite on Debian with the instructions provided, the developers offer a DEB package if you pay for a license. More info here.

[p]Arch Linux installation instructions

[p]The Aseprite application is available for Arch Linux users via the Arch Linux User Repository. To get the app working on your system, open up a terminal window. Once the terminal window is open and ready to use, run the pacman -S command and install the “git” and “base-devel” packages.

[p]sudo pacman -S git base-devel

[p]With these two packages installed, it is time to set up the Trizen AUR helper. This program will automate the installation of Aseprite so that you do not have to compile all of the packages manually.

[p]To get the Trizen AUR helper working on your computer, start cloning the package build using git clone. Then, build the package with makepkg.

[p]git clone https://aur.archlinux.org/trizen.git cd trizen/ makepkg -sri

[p]After setting up the Trizen AUR helper, you’ll be able to quickly get the latest release of Aseprite working on Arch Linux with the trizen -S command.

[p]trizen -S aseprite-git

[p]Fedora installation instructions

[p]Unfortunately, there is no pre-packaged release of Aseprite on Fedora. Thankfully though, someone has created an automatic build script for Fedora. To get it working, do the following.

[p]Note: the build script is made for Fedora 34, but it should also

[p]First, use the wget to download the script to your “Downloads” folder.

[p]wget https://gist.githubusercontent.com/HashWarlock/1b73259e5ddc7ea5e1e707fffe2423a9/raw/7dc711008551f4219451ecdb022bc190bfac1696/gistfile1.txt -O ~/Downloads/aseprite-builder.sh

[p]After downloading the script, mark it as executable with the chmod command.

[p]chmod +x ~/Downloads/aseprite-builder.sh

[p]Finally, run it to build Aseprite on your Fedora Linux installation.

[p]sudo sh ~/Downloads/aseprite-builder.sh

[p]OpenSUSE installation instructions

[p]Believe it or not, OpenSUSE Linux makes it very easy to install the Aseprite application. To get it installed on your system, head over to the Aseprite page on the OpenSUSE Build Service.

[p]Once on the Aseprite page, find your release of SUSE, and click on the “1 Click Install” button to get the app working on your system.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?Register

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | Register

本版积分规则

Infinix Official Website|Infinix official mall|infinix Note 4|XCLUB-COOL STUFF AROUND YOU

GMT+8, 2021-12-01 20:58 , Processed in 0.060670 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表