前段時(shí)間一直在折騰一臺(tái)很老的筆記本電腦,SonyVGN-S38GP。
DebianStretch安裝inkscape
Inkscape是一個(gè)開源的繪圖和繪畫工具,類似于CorelDraw、Illustrator、XaraX和Photoshop。它被廣泛用于所有形式的操作系統(tǒng)。它包含了許多特性,比如Cairo渲染顯示和PNG導(dǎo)出、c++代碼轉(zhuǎn)換、跨平臺(tái)的WMF和EMF導(dǎo)入導(dǎo)出等。
默認(rèn)情況下Debian9安裝過程中會(huì)默認(rèn)安裝inkscape0.92版本,但因?yàn)橐恍┨厥庠颍以诎惭b完后將它卸載了,只好重新安裝了。在開始安裝之前,使用nano命令打開sources.list來添加repo,輸入以下內(nèi)容后保存。
root@debian:~# nano /etc/apt/sources.list
deb http://deb.debian.org/debian-security stable/updates main
deb-src http://deb.debian.org/debian-security stable/updates main
deb http://ftp.debian.org/debian stretch-backports main
deb-src http://ftp.debian.org/debian stretch-backports main
然后運(yùn)行apt update更新源元件。
root@debian:~# apt update
Ign:1 http://deb.debian.org/debian stable InRelease
Get:2 http://ftp.debian.org/debian stretch-backports InRelease [91.8 kB]
Hit:3 http://deb.debian.org/debian stable-updates InRelease
Get:4 http://deb.debian.org/debian-security stable/updates InRelease [62.9 kB]
Get:5 http://ftp.debian.org/debian stretch-backports/main Sources [86.5 kB]
Get:6 http://ftp.debian.org/debian stretch-backports/main amd64 Packages [137 kB]
Hit:7 http://deb.debian.org/debian stable Release
Get:8 http://ftp.debian.org/debian stretch-backports/main Translation-en [71.9 kB]
Get:10 http://deb.debian.org/debian-security stable/updates/main Sources [60.9 kB]
Get:11 http://deb.debian.org/debian-security stable/updates/main amd64 Packages [155 kB]
Get:12 http://deb.debian.org/debian-security stable/updates/main Translation-en [70.1 kB]
Fetched 736 kB in 2s (337 kB/s)
Reading package lists... Done
root@debian:~#
接下來,通過運(yùn)行命令來安裝Inkscape包。
root@debian:~# apt-get install inkscape
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
dia | dia-gnome libsvg-perl libxml-xql-perl pstoedit python-uniconvertor
The following NEW packages will be installed:
inkscape
0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
Need to get 0 B/17.2 MB of archives.
After this operation, 133 MB of additional disk space will be used.
Selecting previously unselected package inkscape.
(Reading database ... 197745 files and directories currently installed.)
Preparing to unpack .../inkscape_0.92.1-1_amd64.deb ...
Unpacking inkscape (0.92.1-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up inkscape (0.92.1-1) ...
root@debian:~#
Inkscape的安裝就完成了。
為inkscape添加Axidraw擴(kuò)展
要讓inkscap支持Axidraw繪圖機(jī)器人,需要添加相應(yīng)的擴(kuò)展插件。
插件地址: https://github.com/evil-mad/axidraw ,我們需要的擴(kuò)展文件如下圖:
inkscape Axidraw插件
在下載使用前,我們還需要選擇對(duì)應(yīng)的正式發(fā)行版本才行。
inkscape Axidraw插件 發(fā)行版
進(jìn)入正式發(fā)行版本列表后,我們可以看到最新發(fā)行版為
最新發(fā)行版
仔細(xì)閱讀相關(guān)的安裝說明,你會(huì)發(fā)現(xiàn)在Debian下使用應(yīng)下載哪個(gè)包,同時(shí)應(yīng)該怎么去安裝的具體說明。
linux axidraw 安裝方法
從說明可以知道,在Debian中使用我們需要的是axidraw_v253r3.zip這個(gè)包,我們需要做的是:
1、下載 axidraw_v253r3.zip解壓;
2、打開inkscape,在“Edit”菜單下,選擇“Preferences”,找到“System”,再定位到“User extensions”,這里的路徑就是inkscape的擴(kuò)展插件目錄;
3、使用cp命令將解壓的文件全部復(fù)制到找到的擴(kuò)展插件目錄即可;
4、為了當(dāng)前用戶能使用USB端口,需要添加當(dāng)前debian用戶到 dialout 用戶組,命令“ sudo usermod -a -G dialout 《當(dāng)前用戶名》 ” 。
5、重啟inkscape,在“擴(kuò)展”菜單就可以看到Axidraw的選項(xiàng)了。
-
機(jī)器人
+關(guān)注
關(guān)注
213文章
29730瀏覽量
212839 -
Stretch
+關(guān)注
關(guān)注
0文章
2瀏覽量
5778 -
Debian
+關(guān)注
關(guān)注
0文章
77瀏覽量
1691
發(fā)布評(píng)論請(qǐng)先 登錄
【KittenBot機(jī)器人試用申請(qǐng)】KittenBot繪圖避障機(jī)器人學(xué)習(xí)課程
繪圖機(jī)器人求驅(qū)動(dòng)
基于stm32的繪圖機(jī)器人設(shè)計(jì) 精選資料推薦
怎樣去設(shè)計(jì)基于stm32的繪圖機(jī)器人
怎樣去設(shè)計(jì)一種基于STM32的繪圖機(jī)器人呢
設(shè)計(jì)一個(gè)低預(yù)算XY繪圖儀繪圖機(jī)器人板
Scribit墻壁繪圖機(jī)器人:一款可以在墻上涂鴉和創(chuàng)作的機(jī)器人
波士頓動(dòng)力推出一款新型倉儲(chǔ)物流機(jī)器人Stretch
自制一個(gè)Arduino繪圖機(jī)器人

mXY板-低預(yù)算XY繪圖儀繪圖機(jī)器人板

制作Arduino XY繪圖儀繪圖機(jī)器人極譜儀

基于CNC的繪圖機(jī)器人Arduino GRBL CoreXY Drawbot

Arduino繪圖機(jī)器人開源分享

評(píng)論