UBports安装Arduino记录

举报
zhangrelay 发表于 2021/07/14 23:44:29 2021/07/14
【摘要】 安装成功后会有一个新的图标哦! 用电脑看,还是很清楚,手机真的太小了,太伤了,不过可以投屏到电脑上,很赞。 下载文件格式tar.xz。需要解压。  sudo apt install xz-utils  sudo apt install tar 然后解压: xz -d arduino-1.8.13-linuxaarch...

安装成功后会有一个新的图标哦!

用电脑看,还是很清楚,手机真的太小了,太伤了,不过可以投屏到电脑上,很赞。

下载文件格式tar.xz。需要解压。

  •  sudo apt install xz-utils 
  •  sudo apt install tar

然后解压:

  1. xz -d arduino-1.8.13-linuxaarch64.tar.xz
  2. tar -xvf arduino-1.8.13-linuxaarch64.tar

之后就是安装:

  • ./install.sh
  • ./arduino-linux-setup.sh


愉快玩耍


  
  1. $ xz --help
  2. Usage: xz [OPTION]... [FILE]...
  3. Compress or decompress FILEs in the .xz format.
  4.   -z, --compress      force compression
  5.   -d, --decompress    force decompression
  6.   -t, --test          test compressed file integrity
  7.   -l, --list          list information about .xz files
  8.   -k, --keep          keep (don't delete) input files
  9.   -f, --force         force overwrite of output file and (de)compress links
  10.   -c, --stdout        write to standard output and don't delete input files
  11.   -0 ... -9           compression preset; default is 6; take compressor *and*
  12.                       decompressor memory usage into account before using 7-9!
  13.   -e, --extreme       try to improve compression ratio by using more CPU time;
  14.                       does not affect decompressor memory requirements
  15.   -q, --quiet         suppress warnings; specify twice to suppress errors too
  16.   -v, --verbose       be verbose; specify twice for even more verbose
  17.   -h, --help          display this short help and exit
  18.   -H, --long-help     display the long help (lists also the advanced options)
  19.   -V, --version       display the version number and exit
  20. With no FILE, or when FILE is -, read standard input.
  21. tar --help
  22. Usage: tar [OPTION...] [FILE]...
  23. GNU 'tar' saves many files together into a single tape or disk archive, and can
  24. restore individual files from the archive.
  25. Examples:
  26.   tar -cf archive.tar foo bar  # Create archive.tar from files foo and bar.
  27.   tar -tvf archive.tar         # List all files in archive.tar verbosely.
  28.   tar -xf archive.tar          # Extract all files from archive.tar.
  29.  Main operation mode:
  30.   -A, --catenate, --concatenate   append tar files to an archive
  31.   -c, --create               create a new archive
  32.   -d, --diff, --compare      find differences between archive and file system
  33.       --delete               delete from the archive (not on mag tapes!)
  34.   -r, --append               append files to the end of an archive
  35.   -t, --list                 list the contents of an archive
  36.       --test-label           test the archive volume label and exit
  37.   -u, --update               only append files newer than copy in archive
  38.   -x, --extract, --get       extract files from an archive
  39.  Operation modifiers:
  40.       --check-device         check device numbers when creating incremental
  41.                              archives (default)
  42.   -g, --listed-incremental=FILE   handle new GNU-format incremental backup
  43.   -G, --incremental          handle old GNU-format incremental backup
  44.       --ignore-failed-read   do not exit with nonzero on unreadable files
  45.       --level=NUMBER         dump level for created listed-incremental archive
  46.   -n, --seek                 archive is seekable
  47.       --no-check-device      do not check device numbers when creating
  48.                              incremental archives
  49.       --no-seek              archive is not seekable
  50.       --occurrence[=NUMBER]  process only the NUMBERth occurrence of each file
  51.                              in the archive; this option is valid only in
  52.                              conjunction with one of the subcommands --delete,
  53.                              --diff, --extract or --list and when a list of
  54.                              files is given either on the command line or via
  55.                              the -T option; NUMBER defaults to 1
  56.       --sparse-version=MAJOR[.MINOR]
  57.                              set version of the sparse format to use (implies
  58.                              --sparse)
  59.   -S, --sparse               handle sparse files efficiently
  60.  Overwrite control:
  61.   -k, --keep-old-files       don't replace existing files when extracting,
  62.                              treat them as errors
  63.       --keep-directory-symlink   preserve existing symlinks to directories when
  64.                              extracting
  65.       --keep-newer-files     don't replace existing files that are newer than
  66.                              their archive copies
  67.       --no-overwrite-dir     preserve metadata of existing directories
  68.       --one-top-level[=DIR]  create a subdirectory to avoid having loose files
  69.                              extracted
  70.       --overwrite            overwrite existing files when extracting
  71.       --overwrite-dir        overwrite metadata of existing directories when
  72.                              extracting (default)
  73.       --recursive-unlink     empty hierarchies prior to extracting directory
  74.       --remove-files         remove files after adding them to the archive
  75.       --skip-old-files       don't replace existing files when extracting,
  76.                              silently skip over them
  77.   -U, --unlink-first         remove each file prior to extracting over it
  78.   -W, --verify               attempt to verify the archive after writing it
  79.  Select output stream:
  80.       --ignore-command-error ignore exit codes of children
  81.       --no-ignore-command-error   treat non-zero exit codes of children as
  82.                              error
  83.   -O, --to-stdout            extract files to standard output
  84.       --to-command=COMMAND   pipe extracted files to another program
  85.  Handling of file attributes:
  86.       --atime-preserve[=METHOD]   preserve access times on dumped files, either
  87.                              by restoring the times after reading
  88.                              (METHOD='replace'; default) or by not setting the
  89.                              times in the first place (METHOD='system')
  90.       --clamp-mtime          only set time when the file is more recent than
  91.                              what was given with --mtime
  92.       --delay-directory-restore   delay setting modification times and
  93.                              permissions of extracted directories until the end
  94.                              of extraction
  95.       --group=NAME           force NAME as group for added files
  96.       --mode=CHANGES         force (symbolic) mode CHANGES for added files
  97.       --mtime=DATE-OR-FILE   set mtime for added files from DATE-OR-FILE
  98.   -m, --touch                don't extract file modified time
  99.       --no-delay-directory-restore
  100.                              cancel the effect of --delay-directory-restore
  101.                              option
  102.       --no-same-owner        extract files as yourself (default for ordinary
  103.                              users)
  104.       --no-same-permissions  apply the user's umask when extracting permissions
  105.                              from the archive (default for ordinary users)
  106.       --numeric-owner        always use numbers for user/group names
  107.       --owner=NAME           force NAME as owner for added files
  108.   -p, --preserve-permissions, --same-permissions
  109.                              extract information about file permissions
  110.                              (default for superuser)
  111.       --preserve             same as both -p and -s
  112.       --same-owner           try extracting files with the same ownership as
  113.                              exists in the archive (default for superuser)
  114.   -s, --preserve-order, --same-order
  115.                              member arguments are listed in the same order as
  116.                              the files in the archive
  117.       --sort=ORDER           directory sorting order: none (default), name or
  118.                              inode
  119.  Handling of extended file attributes:
  120.       --acls                 Enable the POSIX ACLs support
  121.       --no-acls              Disable the POSIX ACLs support
  122.       --no-selinux           Disable the SELinux context support
  123.       --no-xattrs            Disable extended attributes support
  124.       --selinux              Enable the SELinux context support
  125.       --xattrs               Enable extended attributes support
  126.       --xattrs-exclude=MASK  specify the exclude pattern for xattr keys
  127.       --xattrs-include=MASK  specify the include pattern for xattr keys
  128.  Device selection and switching:
  129.   -f, --file=ARCHIVE         use archive file or device ARCHIVE
  130.       --force-local          archive file is local even if it has a colon
  131.   -F, --info-script=NAME, --new-volume-script=NAME
  132.                              run script at end of each tape (implies -M)
  133.   -L, --tape-length=NUMBER   change tape after writing NUMBER x 1024 bytes
  134.   -M, --multi-volume         create/list/extract multi-volume archive
  135.       --rmt-command=COMMAND  use given rmt COMMAND instead of rmt
  136.       --rsh-command=COMMAND  use remote COMMAND instead of rsh
  137.       --volno-file=FILE      use/update the volume number in FILE
  138.  Device blocking:
  139.   -b, --blocking-factor=BLOCKS   BLOCKS x 512 bytes per record
  140.   -B, --read-full-records    reblock as we read (for 4.2BSD pipes)
  141.   -i, --ignore-zeros         ignore zeroed blocks in archive (means EOF)
  142.       --record-size=NUMBER   NUMBER of bytes per record, multiple of 512
  143.  Archive format selection:
  144.   -H, --format=FORMAT        create archive of the given format
  145.  FORMAT is one of the following:
  146.     gnu                      GNU tar 1.13.x format
  147.     oldgnu                   GNU format as per tar <= 1.12
  148.     pax                      POSIX 1003.1-2001 (pax) format
  149.     posix                    same as pax
  150.     ustar                    POSIX 1003.1-1988 (ustar) format
  151.     v7                       old V7 tar format
  152.       --old-archive, --portability
  153.                              same as --format=v7
  154.       --pax-option=keyword[[:]=value][,keyword[[:]=value]]...
  155.                              control pax keywords
  156.       --posix                same as --format=posix
  157.   -V, --label=TEXT           create archive with volume name TEXT; at
  158.                              list/extract time, use TEXT as a globbing pattern
  159.                              for volume name
  160.  Compression options:
  161.   -a, --auto-compress        use archive suffix to determine the compression
  162.                              program
  163.   -I, --use-compress-program=PROG
  164.                              filter through PROG (must accept -d)
  165.   -j, --bzip2                filter the archive through bzip2
  166.   -J, --xz                   filter the archive through xz
  167.       --lzip                 filter the archive through lzip
  168.       --lzma                 filter the archive through xz
  169.       --lzop                 filter the archive through xz
  170.       --no-auto-compress     do not use archive suffix to determine the
  171.                              compression program
  172.   -z, --gzip, --gunzip, --ungzip   filter the archive through gzip
  173.   -Z, --compress, --uncompress   filter the archive through compress
  174.  Local file selection:
  175.       --add-file=FILE        add given FILE to the archive (useful if its name
  176.                              starts with a dash)
  177.       --backup[=CONTROL]     backup before removal, choose version CONTROL
  178.   -C, --directory=DIR        change to directory DIR
  179.       --exclude=PATTERN      exclude files, given as a PATTERN
  180.       --exclude-backups      exclude backup and lock files
  181.       --exclude-caches       exclude contents of directories containing
  182.                              CACHEDIR.TAG, except for the tag file itself
  183.       --exclude-caches-all   exclude directories containing CACHEDIR.TAG
  184.       --exclude-caches-under exclude everything under directories containing
  185.                              CACHEDIR.TAG
  186.       --exclude-ignore=FILE  read exclude patterns for each directory from
  187.                              FILE, if it exists
  188.       --exclude-ignore-recursive=FILE
  189.                              read exclude patterns for each directory and its
  190.                              subdirectories from FILE, if it exists
  191.       --exclude-tag=FILE     exclude contents of directories containing FILE,
  192.                              except for FILE itself
  193.       --exclude-tag-all=FILE exclude directories containing FILE
  194.       --exclude-tag-under=FILE   exclude everything under directories
  195.                              containing FILE
  196.       --exclude-vcs          exclude version control system directories
  197.       --exclude-vcs-ignores  read exclude patterns from the VCS ignore files
  198.   -h, --dereference          follow symlinks; archive and dump the files they
  199.                              point to
  200.       --hard-dereference     follow hard links; archive and dump the files they
  201.                              refer to
  202.   -K, --starting-file=MEMBER-NAME
  203.                              begin at member MEMBER-NAME when reading the
  204.                              archive
  205.       --newer-mtime=DATE     compare date and time when data changed only
  206.       --no-null              disable the effect of the previous --null option
  207.       --no-recursion         avoid descending automatically in directories
  208.       --no-unquote           do not unquote input file or member names
  209.       --null                 -T reads null-terminated names, disable -C
  210.   -N, --newer=DATE-OR-FILE, --after-date=DATE-OR-FILE
  211.                              only store files newer than DATE-OR-FILE
  212.       --one-file-system      stay in local file system when creating archive
  213.   -P, --absolute-names       don't strip leading '/'s from file names
  214.       --recursion            recurse into directories (default)
  215.       --suffix=STRING        backup before removal, override usual suffix ('~'
  216.                              unless overridden by environment variable
  217.                              SIMPLE_BACKUP_SUFFIX)
  218.   -T, --files-from=FILE      get names to extract or create from FILE
  219.       --unquote              unquote input file or member names (default)
  220.   -X, --exclude-from=FILE    exclude patterns listed in FILE
  221.  File name transformations:
  222.       --strip-components=NUMBER   strip NUMBER leading components from file
  223.                              names on extraction
  224.       --transform=EXPRESSION, --xform=EXPRESSION
  225.                              use sed replace EXPRESSION to transform file
  226.                              names
  227.  File name matching options (affect both exclude and include patterns):
  228.       --anchored             patterns match file name start
  229.       --ignore-case          ignore case
  230.       --no-anchored          patterns match after any '/' (default for
  231.                              exclusion)
  232.       --no-ignore-case       case sensitive matching (default)
  233.       --no-wildcards         verbatim string matching
  234.       --no-wildcards-match-slash   wildcards do not match '/'
  235.       --wildcards            use wildcards (default for exclusion)
  236.       --wildcards-match-slash   wildcards match '/' (default for exclusion)
  237.  Informative output:
  238.       --checkpoint[=NUMBER]  display progress messages every NUMBERth record
  239.                              (default 10)
  240.       --checkpoint-action=ACTION   execute ACTION on each checkpoint
  241.       --full-time            print file time to its full resolution
  242.       --index-file=FILE      send verbose output to FILE
  243.   -l, --check-links          print a message if not all links are dumped
  244.       --no-quote-chars=STRING   disable quoting for characters from STRING
  245.       --quote-chars=STRING   additionally quote characters from STRING
  246.       --quoting-style=STYLE  set name quoting style; see below for valid STYLE
  247.                              values
  248.   -R, --block-number         show block number within archive with each message
  249.                             
  250.       --show-defaults        show tar defaults
  251.       --show-omitted-dirs    when listing or extracting, list each directory
  252.                              that does not match search criteria
  253.       --show-snapshot-field-ranges
  254.                              show valid ranges for snapshot-file fields
  255.       --show-transformed-names, --show-stored-names
  256.                              show file or archive names after transformation
  257.       --totals[=SIGNAL]      print total bytes after processing the archive;
  258.                              with an argument - print total bytes when this
  259.                              SIGNAL is delivered; Allowed signals are: SIGHUP,
  260.                              SIGQUIT, SIGINT, SIGUSR1 and SIGUSR2; the names
  261.                              without SIG prefix are also accepted
  262.       --utc                  print file modification times in UTC
  263.   -v, --verbose              verbosely list files processed
  264.       --warning=KEYWORD      warning control
  265.   -w, --interactive, --confirmation
  266.                              ask for confirmation for every action
  267.  Compatibility options:
  268.   -o                         when creating, same as --old-archive; when
  269.                              extracting, same as --no-same-owner
  270.  Other options:
  271.   -?, --help                 give this help list
  272.       --restrict             disable use of some potentially harmful options
  273.       --usage                give a short usage message
  274.       --version              print program version
  275. Mandatory or optional arguments to long options are also mandatory or optional
  276. for any corresponding short options.
  277. The backup suffix is '~', unless set with --suffix or SIMPLE_BACKUP_SUFFIX.
  278. The version control may be set with --backup or VERSION_CONTROL, values are:
  279.   none, off       never make backups
  280.   t, numbered     make numbered backups
  281.   nil, existing   numbered if numbered backups exist, simple otherwise
  282.   never, simple   always make simple backups
  283. Valid arguments for the --quoting-style option are:
  284.   literal
  285.   shell
  286.   shell-always
  287.   c
  288.   c-maybe
  289.   escape
  290.   locale
  291.   clocale

 

文章来源: zhangrelay.blog.csdn.net,作者:zhangrelay,版权归原作者所有,如需转载,请联系作者。

原文链接:zhangrelay.blog.csdn.net/article/details/113921925

【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。