๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
์ฒœ์ฒœํžˆ, ๊พธ์ค€ํžˆ../C

[C : ctags] ctags ์„ค์น˜ #universal-ctags

by MIMI.L 2023. 12. 16.
๋ฐ˜์‘ํ˜•

 

ctags ์•„๋‹ˆ๊ณ  universal-ctags


 

์˜ค๋žœ๋งŒ์— C์–ธ์–ด๋ฅผ ๋‹ค์‹œ๋ณด๋ฉด์„œ.. 

ctags๋ฅผ ์“ฐ๋ ค๊ณ  ํ–ˆ๋”๋‹ˆ ์„ค์น˜๊ฐ€ ์•ˆ๋˜์–ด ์žˆ์–ด์„œ ์„ค์น˜ํ•˜๋ ค๊ณ  ํ–ˆ๋Š”๋ฐ.. ๐Ÿ˜ฅ

 

์™œ๋•Œ๋ฌธ์— ํŒจํ‚ค์ง€๊ฐ€ ์—…์จ !!! ๐Ÿ˜ก

E: Package 'ctags' has no installation candidate

mimi@mimi:~/Mimi/lang/c$ sudo apt-get install -y ctags
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package ctags is a virtual package provided by:
  exuberant-ctags 1:5.9~svn20110310-16ubuntu0.22.04.1
  universal-ctags 5.9.20210829.0-1
You should explicitly select one to install.

E: Package 'ctags' has no installation candidate
mimi@mimi:~/Mimi/lang/c$

 

์ง๊ฟ์—๊ฒŒ ๋ฌผ์–ด๋ณด๋‹ˆ.. 

์›๋ž˜๋ถ€ํ„ฐ universal-ctags ์˜€๋‹ค๊ณ  ํ•จ..

 

์•„๋‹ˆ ๊ทผ๋ฐ ๋‹ค๋ฅธ ๋ธ”๋กœ๊ทธ๋“ค๋„ ๋‹ค ๊ทธ๋ƒฅ ctags๋กœ ๋˜์–ด ์žˆ๋Š”๋ฐ..??????????????๐Ÿ˜ฉ

๋ฌดํŠผ ctags๋ฅผ ๋ฐ›์œผ๋ ค๋ฉด ์•„๋ž˜์™€ ๊ฐ™์ด universal-ctags ๋กœ ๋ฐ›๊ธฐ...

 

sudo apt-get install -y universal-ctags

๋”๋ณด๊ธฐ
mimi@mimi:~/Mimi/lang/c$ sudo apt-get install -y universal-ctags
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  universal-ctags
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 731 kB of archives.
After this operation, 2,057 kB of additional disk space will be used.
Get:1 http://kr.archive.ubuntu.com/ubuntu jammy/universe amd64 universal-ctags amd64 5.9.20210829.0-1 [731 kB]
Fetched 731 kB in 3s (286 kB/s)                        
Selecting previously unselected package universal-ctags.
(Reading database ... 307417 files and directories currently installed.)
Preparing to unpack .../universal-ctags_5.9.20210829.0-1_amd64.deb ...
Unpacking universal-ctags (5.9.20210829.0-1) ...
Setting up universal-ctags (5.9.20210829.0-1) ...
update-alternatives: using /usr/bin/ctags-universal to provide /usr/bin/ctags (ctags) in auto mode
update-alternatives: using /usr/bin/ctags-universal to provide /usr/bin/etags (etags) in auto mode
Processing triggers for man-db (2.10.2-1) ...
mimi@mimi:~/Mimi/lang/c$

 

๋ฐ˜์‘ํ˜•

๋Œ“๊ธ€